<div dir="ltr">Hi all,<div>We&#39;re seeing issues with using clusters consisting of multiple nodes today.  Launch of clusters with &gt;=3 nodes fails, with report of being unable to assign aliases to nodes other than &quot;master&quot;.  The same problem is seen with addnode.  Adding one node is fine, but adding more than one gives the alias problem again.  Terminating these clusters fails due to the missing alias as well, you have to use the ec2toolkit to shut down the offending nodes that were not named.</div>

<div><br></div><div>I&#39;m on the latest developmental version, and I&#39;ve noticed that there&#39;s a lot of gibberish in the node user data (as viewed through the web console) as of today.</div><div><br></div><div>Debug at the end, and thanks for the help.</div>

<div><br></div><div>Dan</div><div><br></div><div><br></div><div>&gt; starcluster -d start -c testing brokenCluster -s 3</div><div><br></div><div>... </div><div>...</div><div><br></div><div><div>&gt;&gt;&gt; Waiting for all nodes to be in a &#39;running&#39; state...</div>

<div>2013-11-25 14:13:06,323 cluster.py:734 - DEBUG - existing nodes: {}</div><div>2013-11-25 14:13:06,323 cluster.py:742 - DEBUG - adding node i-323f504f to self._nodes list</div><div>2013-11-25 14:13:06,839 cluster.py:742 - DEBUG - adding node i-2c3f5051 to self._nodes list</div>

<div>2013-11-25 14:13:07,001 node.py:147 - DEBUG - invalid aliases file in user_data:</div><div><br></div><div>3/3 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 100%</div><div>!!! ERROR - instance i-2c3f5051 has no alias</div>

<div>2013-11-25 14:13:07,003 cli.py:301 - DEBUG - instance i-2c3f5051 has no alias</div><div>Traceback (most recent call last):</div><div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cli.py&quot;, line 274, in main</div>

<div>    sc.execute(args)</div><div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/commands/start.py&quot;, line 220, in execute</div><div>    validate_running=validate_running)</div>

<div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py&quot;, line 1534, in start</div><div>    return self._start(create=create, create_only=create_only)</div><div>  File &quot;&lt;string&gt;&quot;, line 2, in _start</div>

<div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/utils.py&quot;, line 111, in wrap_f</div><div>    res = func(*arg, **kargs)</div><div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py&quot;, line 1557, in _start</div>

<div>    self.setup_cluster()</div><div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py&quot;, line 1565, in setup_cluster</div><div>    self.wait_for_cluster()</div><div>

  File &quot;&lt;string&gt;&quot;, line 2, in wait_for_cluster</div><div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/utils.py&quot;, line 111, in wrap_f</div><div>    res = func(*arg, **kargs)</div>

<div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py&quot;, line 1350, in wait_for_cluster</div><div>    self.wait_for_running_instances()</div><div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py&quot;, line 1305, in wait_for_running_instances</div>

<div>    nodes = nodes or self.get_nodes_or_raise()</div><div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py&quot;, line 754, in get_nodes_or_raise</div><div>    nodes = self.nodes</div>

<div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py&quot;, line 744, in nodes</div><div>    if n.is_master():</div><div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/node.py&quot;, line 898, in is_master</div>

<div>    return self.alias == &#39;master&#39; or self.alias.endswith(&quot;-master&quot;)</div><div>  File &quot;/Library/Python/2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/node.py&quot;, line 150, in alias</div>

<div>    &quot;instance %s has no alias&quot; % <a href="http://self.id">self.id</a>)</div><div>BaseException: instance i-2c3f5051 has no alias</div></div><div><div><br></div>-- <br>Daniel G Polhamus, PhD<div>Metrum Research Group, LLC</div>

<div><br></div>
</div></div>