<div dir="ltr"><div>I would like to report a crash.</div><div><br></div><div>I think the following error occurred since I was adding a new instance on my account using the web interface. I was creating 2-node cluster with starcluster, and the last node in the log (node i-931901fb) is that node which should not be a member of this cluster.</div>
<div><br></div><div><div>---------- SYSTEM INFO ----------</div><div>StarCluster: 0.94</div><div>Python: 2.7.2 (default, Oct 11 2012, 20:14:37) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]</div><div>
Platform: Darwin-12.3.0-x86_64-i386-64bit</div><div>boto: 2.10.0</div><div>paramiko: 1.11.0</div><div>Crypto: 2.6</div><div><br></div><div>---------- CRASH DETAILS ----------</div><div>Command: starcluster -c /Users/bikestra/.starcluster/vishy_config sshmaster firstcluster</div>
<div><br></div><div>2013-08-27 15:18:39,295 PID: 17339 config.py:567 - DEBUG - Loading config</div><div>2013-08-27 15:18:39,295 PID: 17339 config.py:138 - DEBUG - Loading file: /Users/bikestra/.starcluster/vishy_config</div>
<div>2013-08-27 15:18:39,298 PID: 17339 awsutils.py:74 - 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, 'validate_certs': True, 'port': None}</div>
<div>2013-08-27 15:18:39,827 PID: 17339 cluster.py:710 - DEBUG - existing nodes: {}</div><div>2013-08-27 15:18:39,827 PID: 17339 cluster.py:718 - DEBUG - adding node i-a55dc4dc to self._nodes list</div><div>2013-08-27 15:18:39,827 PID: 17339 cluster.py:718 - DEBUG - adding node i-7151c808 to self._nodes list</div>
<div>2013-08-27 15:18:39,828 PID: 17339 cluster.py:718 - DEBUG - adding node i-931901fb to self._nodes list</div><div>2013-08-27 15:18:40,022 PID: 17339 cli.py:307 - ERROR - Unhandled exception occured</div><div>Traceback (most recent call last):</div>
<div> File "/Library/Python/2.7/site-packages/StarCluster-0.94-py2.7.egg/starcluster/cli.py", line 274, in main</div><div> sc.execute(args)</div><div> File "/Library/Python/2.7/site-packages/StarCluster-0.94-py2.7.egg/starcluster/commands/sshmaster.py", line 57, in execute</div>
<div> forward_agent=self.opts.forward_agent)</div><div> File "/Library/Python/2.7/site-packages/StarCluster-0.94-py2.7.egg/starcluster/cluster.py", line 134, in ssh_to_master</div><div> require_keys=True)</div>
<div> File "/Library/Python/2.7/site-packages/StarCluster-0.94-py2.7.egg/starcluster/cluster.py", line 68, in get_cluster</div><div> cl.keyname = cl.keyname or cl.master_node.key_name</div><div> File "/Library/Python/2.7/site-packages/StarCluster-0.94-py2.7.egg/starcluster/cluster.py", line 689, in master_node</div>
<div> for node in self.nodes:</div><div> File "/Library/Python/2.7/site-packages/StarCluster-0.94-py2.7.egg/starcluster/cluster.py", line 720, in nodes</div><div> if n.is_master():</div><div> File "/Library/Python/2.7/site-packages/StarCluster-0.94-py2.7.egg/starcluster/node.py", line 883, in is_master</div>
<div> return self.alias == "master"</div><div> File "/Library/Python/2.7/site-packages/StarCluster-0.94-py2.7.egg/starcluster/node.py", line 139, in alias</div><div> aliases = aliasestxt.splitlines()[2:]</div>
<div>AttributeError: 'NoneType' object has no attribute 'splitlines'</div></div><div><br></div><div><br></div><div>Thanks,</div><div>Hyokun Yun</div><div><br></div></div>