[Starcluster] master.id

Justin Riley jtriley at MIT.EDU
Fri Apr 30 10:18:58 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Damian,

Thanks very much for the report. I'm working on adding the correct
accounting logic for spot instances to StarCluster. This is useful info
to have because this suggests not all instance responses (ie like the
output of ec2-describe-instances) come up simultaneously.

For now, now to waste your spot requests, you can re-rerun the
"starcluster -d -c
> ~/.starcluster/config2 start -b 0.40 eyes" with the -x option once you
verify that the nodes are up and at least pending if not running. You
can check this by periodically running starcluster listclusters.

I'll keep the list updated with spot instance progress.

~Justin

On 04/30/2010 05:31 AM, Damian Eads wrote:
> Hi Justin,
> 
> I just tried launching a cluster. Here's the bug report.
> 
> Cheers,
> 
> Damian
> 
> eads at argentina:~/work/repo/StarCluster$ starcluster -d -c
> ~/.starcluster/config2 start -b 0.40 eyes
> StarCluster - (http://web.mit.edu/starcluster)
> Software Tools for Academics and Researchers (STAR)
> Please submit bug reports to starcluster at mit.edu
> 
> Usage: start [options] <cluster_template> <tagname>
> 
>     Start a new cluster
> 
>     Example:
> 
>         starcluster start largecluster physics
> 
>     This will launch a cluster tagged "physics" using the
>     settings from the cluster template "largecluster" defined
>     in the configuration file
> 
> starcluster: error: please specify a <cluster_template> and <tagname>
> eads at argentina:~/work/repo/StarCluster$ starcluster -d -c
> ~/.starcluster/config2 start -b 0.40 mycluster eyes
> StarCluster - (http://web.mit.edu/starcluster)
> Software Tools for Academics and Researchers (STAR)
> Please submit bug reports to starcluster at mit.edu
> 
> awsutils.py:46 - DEBUG - creating self._conn w/
> connection_authenticator kwargs = {'path': '/', 'region': None,
> 'port': None, 'is_secure': True}
>>>> Validating cluster settings...
> awsutils.py:46 - DEBUG - creating self._conn w/
> connection_authenticator kwargs = {'path': '/', 'region': None,
> 'port': None, 'is_secure': True}
>>>> Cluster settings are valid
>>>> Starting cluster...
>>>> Launching a 7-node cluster...
>>>> Launching master node...
>>>> Master AMI: ami-8b38d6e2
>>>> Creating security group @sc-eyes...
> [SpotInstanceRequest:sir-f5edce04]
>>>> Launching worker nodes...
>>>> Node AMI: ami-8b38d6e2
> [SpotInstanceRequest:sir-24678803, SpotInstanceRequest:sir-95cb3c03,
> SpotInstanceRequest:sir-be803403, SpotInstanceRequest:sir-68038a03,
> SpotInstanceRequest:sir-8d9d2c03, SpotInstanceRequest:sir-449b7803]
>>>> Waiting for cluster to start...\Traceback (most recent call last):
>   File "build/bdist.linux-i686/egg/starcluster/cli.py", line 965, in main
>     sc.execute(args)
>   File "build/bdist.linux-i686/egg/starcluster/cli.py", line 181, in execute
>     scluster.start(create=not self.opts.no_create)
>   File "build/bdist.linux-i686/egg/starcluster/utils.py", line 26, in wrapper
>     res = func(*arg, **kargs)
>   File "build/bdist.linux-i686/egg/starcluster/cluster.py", line 537, in start
>     while not self.is_cluster_up():
>   File "build/bdist.linux-i686/egg/starcluster/cluster.py", line 480,
> in is_cluster_up
>     nodes = self.running_nodes
>   File "build/bdist.linux-i686/egg/starcluster/cluster.py", line 416,
> in running_nodes
>     for node in self.nodes:
>   File "build/bdist.linux-i686/egg/starcluster/cluster.py", line 389, in nodes
>     if node.id == master.id:
> AttributeError: 'NoneType' object has no attribute 'id'
> 
> cli.py:973 - ERROR - Oops! Looks like you've found a bug in StarCluster
> cli.py:974 - ERROR - Please submit this bug to starcluster at mit.edu
> eads at argentina:~/work/repo/StarCluster$
> _______________________________________________
> Starcluster mailing list
> Starcluster at mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkva5tIACgkQ4llAkMfDcrlwYQCgkTlcrG9slx65MqQLMC4uDteO
v70An0VyZTKWfiv0/TZ+3RsRWaa8V8Ih
=bng7
-----END PGP SIGNATURE-----



More information about the StarCluster mailing list