<pre class="bz_comment_text">Hello Justin,</pre><pre class="bz_comment_text">It looks like t<span style="font-family:arial">he alias property method within cluster.py uses the ami_launch_index to assign </span><span style="font-family:arial">the name and alias of a node. The ami_launch_index is assigned by the server </span><span style="font-family:arial">when a reservation is made. Since I have been asking for instances one at a </span><span style="font-family:arial">time when I run add node, the ami_launch_index is always zero. There is code </span><span style="font-family:arial">that checks a file for the appropriate name and spits out the index-th name. </span><span style="font-family:arial">Master is the zero-th name in that list. So all the nodes come out as master </span><span style="font-family:arial">nodes.</span></pre>
<pre class="bz_comment_text">When I try to reserve four instances using -n 4, the alias method checks the list (which only has two elements, master and node001) and runs into an error "invalid aliases file in user_data" because there are only two elements in the file's list not four.
One thought would be to increase the size of the list and to somehow find another way of assigning the names other than the ami_launch_index.</pre><pre class="bz_comment_text">I have not checked, but I don't think this error would only occur in the eucalyptus mod of starcluster. Have others encountered this problem as well?</pre>
<pre class="bz_comment_text"><span style="font-family:arial">-Rob</span></pre>