[StarCluster] Crash report

Christopher Bare chris.bare at sagebase.org
Fri Nov 2 19:06:21 EDT 2012


Howdy,

Thanks for making an excellent tool available. I was trying to run
startcluster commands on an EC2 node and got the error in the attached
crash report.

I don't know if this is a supported use case - using an EC2 node as to
administer a cluster, but it seemed to be working, then I got disconnected
from my admin node and had to re-connect and got this error after
reconnecting.

- Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20121102/25a105c7/attachment.htm
-------------- next part --------------
---------- CRASH DETAILS ----------
COMMAND: starcluster lc
2012-11-02 22:58:25,032 PID: 4196 config.py:551 - DEBUG - Loading config
2012-11-02 22:58:25,032 PID: 4196 config.py:118 - DEBUG - Loading file: /home/ubuntu/.starcluster/config
2012-11-02 22:58:25,034 PID: 4196 awsutils.py:54 - DEBUG - creating self._conn w/ connection_authenticator kwargs = {'proxy_user': None, 'proxy_pass': None, 'proxy_port': None, 'proxy': None, 'is_secure': True, 'path': '/', 'region': None, 'port': None}
2012-11-02 22:58:25,362 PID: 4196 cluster.py:664 - DEBUG - existing nodes: {}
2012-11-02 22:58:25,362 PID: 4196 cluster.py:672 - DEBUG - adding node i-a76531db to self._nodes list
2012-11-02 22:58:25,363 PID: 4196 cluster.py:672 - DEBUG - adding node i-4f6e3a33 to self._nodes list
2012-11-02 22:58:25,363 PID: 4196 cluster.py:680 - DEBUG - returning self._nodes = [<Node: master (i-a76531db)>, <Node: node001 (i-4f6e3a33)>]
2012-11-02 22:58:25,589 PID: 4196 cluster.py:664 - DEBUG - existing nodes: {}
2012-11-02 22:58:25,589 PID: 4196 cluster.py:672 - DEBUG - adding node i-c55703b9 to self._nodes list
2012-11-02 22:58:25,689 PID: 4196 cli.py:287 - DEBUG - Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/starcluster/cli.py", line 255, in main
    sc.execute(args)
  File "/usr/local/lib/python2.7/dist-packages/starcluster/commands/listclusters.py", line 19, in execute
    show_ssh_status=self.opts.show_ssh_status)
  File "/usr/local/lib/python2.7/dist-packages/starcluster/cluster.py", line 247, in list_clusters
    nodes = cl.nodes
  File "/usr/local/lib/python2.7/dist-packages/starcluster/cluster.py", line 674, in nodes
    if n.is_master():
  File "/usr/local/lib/python2.7/dist-packages/starcluster/node.py", line 764, in is_master
    return self.alias == "master"
  File "/usr/local/lib/python2.7/dist-packages/starcluster/node.py", line 108, in alias
    user_data = self._get_user_data(tries=5)
  File "/usr/local/lib/python2.7/dist-packages/starcluster/node.py", line 88, in _get_user_data
    user_data = self.ec2.get_instance_user_data(self.id)
  File "/usr/local/lib/python2.7/dist-packages/starcluster/awsutils.py", line 450, in get_instance_user_data
    return base64.b64decode(user_data)
  File "/usr/lib/python2.7/base64.py", line 73, in b64decode
    return binascii.a2b_base64(s)
TypeError: must be string or buffer, not None

---------- SYSTEM INFO ----------
StarCluster: 0.93.3
Python: 2.7.2+ (default, Oct  4 2011, 20:06:09)  [GCC 4.6.1]
Platform: Linux-3.0.0-14-virtual-x86_64-with-Ubuntu-11.10-oneiric
boto: 2.3.0
ssh: 1.7.13
Crypto: 2.3
jinja2: 2.6
decorator: 3.3.1


More information about the StarCluster mailing list