StarCluster - Mailing List Archive

Re: [Starcluster] (no subject)

From: Justin Riley <no email>
Date: Fri, 16 Apr 2010 12:49:36 -0400

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

Fixed in github, thanks

~Justin

On 04/16/2010 11:57 AM, Dan Yamins wrote:
> I just got this stack trace:
>
>
> daniel-yaminss-macbook-pro:~ dyamins$ starcluster start govcluster32
> testcluster
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Crypto/Hash/SHA.py:6:
> DeprecationWarning: the sha module is deprecated; use the hashlib module
> instead
> from sha import *
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Crypto/Hash/MD5.py:6:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
> from md5 import *
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/IPython/Magic.py:38:
> DeprecationWarning: the sets module is deprecated
> from sets import Set
> StarCluster - (http://web.mit.edu/starcluster)
> Software Tools for Academics and Researchers (STAR)
> Please submit bug reports to starcluster_at_mit.edu
> <mailto:starcluster_at_mit.edu>
>
>>>> Validating cluster settings...
>>>> Cluster settings are valid
>>>> Starting cluster...
>>>> Launching a 2-node cluster...
>>>> Launching master node...
>>>> Master AMI: ami-f129c798
>>>> Creating security group _at_sc-testcluster...
> Reservation:r-fa979f92
>>>> Launching worker nodes...
>>>> Node AMI: ami-f129c798
> Reservation:r-fc979f94
>>>> Waiting for cluster to start...
>>>> The master node is
>>>> Attaching volume vol-c3d927aa to master node...
> ---------------------------------------------------------------------------
> EC2ResponseError Traceback (most recent call last)
>
> /Users/dyamins/StarCluster/bin/starcluster in <module>()
> 5 del require
> 6 __file__ = '/Users/dyamins/StarCluster/bin/starcluster'
> ----> 7 execfile(__file__)
> 8
> 9
>
> /Users/dyamins/StarCluster/bin/starcluster in <module>()
> 4 if __name__ == '__main__':
> 5 try:
> ----> 6 cli.main()
> 7 except KeyboardInterrupt:
> 8 print "Interrupted, exiting."
>
> /Users/dyamins/StarCluster/starcluster/cli.pyc in main()
> 770 sys.exit(0)
> 771 try:
> --> 772 sc.execute(args)
> 773 except exception.BaseException,e:
> 774 log.error(e.msg)
>
> /Users/dyamins/StarCluster/starcluster/cli.pyc in execute(self, args)
> 169 log.info <http://log.info>('Cluster settings are valid')
> 170 if not self.opts.validate_only:
> --> 171 scluster.start(create=not self.opts.no_create)
> 172 if self.opts.login_master:
> 173 cluster.ssh_to_master(tag, self.cfg)
>
> /Users/dyamins/StarCluster/starcluster/utils.pyc in wrapper(*arg, **kargs)
> 23 """Raw timing function """
> 24 time1 = time.time()
> ---> 25 res = func(*arg, **kargs)
> 26 time2 = time.time()
> 27 log.info <http://log.info>('%s took %0.3f mins' %
> (func.func_name, (time2-time1)/60.0))
>
> /Users/dyamins/StarCluster/starcluster/cluster.pyc in start(self, create)
> 399
> 400 if self.volumes:
> --> 401 self.attach_volumes_to_master()
> 402
> 403 log.info <http://log.info>("Setting up the cluster...")
>
> /Users/dyamins/StarCluster/starcluster/cluster.pyc in
> attach_volumes_to_master(self)
> 356 % vol.id <http://vol.id>)
> 357 continue
> --> 358 resp = vol.attach(self.master_node.id
> <http://self.master_node.id>, device)
> 359 log.debug("resp = %s" % resp)
> 360 while True:
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/boto-1.9b-py2.6.egg/boto/ec2/volume.pyc
> in attach(self, instance_id, device)
> 111 :return: True if successful
> 112 """
> --> 113 return self.connection.attach_volume(self.id
> <http://self.id>, instance_id, device)
> 114
> 115 def detach(self, force=False):
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/boto-1.9b-py2.6.egg/boto/ec2/connection.pyc
> in attach_volume(self, volume_id, instance_id, device)
> 1018 'VolumeId' : volume_id,
> 1019 'Device' : device}
> -> 1020 return self.get_status('AttachVolume', params)
> 1021
> 1022 def detach_volume(self, volume_id, instance_id=None,
> device=None, force=False):
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/boto-1.9b-py2.6.egg/boto/connection.pyc
> in get_status(self, action, params, path, parent, verb)
> 645 boto.log.error('%s %s' % (response.status,
> response.reason))
> 646 boto.log.error('%s' % body)
> --> 647 raise self.ResponseError(response.status,
> response.reason, body)
> 648
> 649
>
> EC2ResponseError: EC2ResponseError: 400 Bad Request
> <?xml version="1.0"?>
> <Response><Errors><Error><Code>IncorrectState</Code><Message>Instance
> 'i-373a585c' is not
> 'running'.</Message></Error></Errors><RequestID>432e92f8-8660-4f92-a6e8-5e70ff37d2d2</RequestID></Response>
>
>
>
> _______________________________________________
> 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/

iEYEARECAAYFAkvIlSAACgkQ4llAkMfDcrm0NgCghSnp7NRI3Ojlag9OEucwjSDA
pcAAniitggUfGx7FcymS5xFpvyd9j95s
=8fNK
-----END PGP SIGNATURE-----
Received on Fri Apr 16 2010 - 12:49:38 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject