Hi Justin,<br><br>thanks for the quick respond.<br><br>I&#39;ve download the development version and I&#39;ve notice many new changes/features<br>compared to version 0.91.<br><br>However, I&#39;ve find 2 bugs.<br><br>Bug-1:<br>
If there is no volume is been specified to a cluster in the configure file, the <br>starcluster will crash with:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
 TypeError: &#39;NoneType&#39; object is not iterable<br></blockquote><br>Cause:<br>After tracking the problem: the &quot;self.VOLUMES&quot; in &quot;cluster.py&quot; <br>have a value of None. And, there are two functions(setup_ebs, setup_nfs)  in <br>
&quot;clustersetup.py&quot; are tying to for-loop it.<br><br>A Quick-Fix:<br>Cluster.py( line: 154): I&#39;ve added the following after line 154:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
if not volumes:<br>            self.VOLUMES = []<br></blockquote><div> </div> I&#39;m sure there is a better way to fix this.<br><br><br><br>Bug-2:<br>Start a cluster and tagged as &quot;bug2&quot;, then stop the cluster.<br>
Then, start another cluster and tagged as &quot;bug2&quot;, the startcluster will crash.<br><br>Cause:<br>Starcluster is trying to SSH (ssh.py:49) the terminated instances from the <br>first cluster where the terminated instances have no hostname.<br>
<br>Quck-fix:<br>In cluster.py(self.nodes):  I&#39;ve add the following after line 278 to filter out the<br> terminated instances:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
                if node.state == &#39;terminated&#39;:<br>                    continue <br></blockquote><br><br>Again, thanks for your great effort<br>Nasser<br><br><br><div class="gmail_quote">On Tue, Mar 30, 2010 at 5:39 AM, Justin Riley <span dir="ltr">&lt;<a href="mailto:jtriley@mit.edu">jtriley@mit.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi Nasser<br>
<br>
I&#39;ve cc&#39;d the starcluster mailing list, hope you don&#39;t mind.<br>
<br>
BTW, I&#39;d like to invite you to join the starcluster mailing list. It&#39;s a<br>
good place to keep up with things and submit issues<br>
such as these. You can join the list here:<br>
<br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
<br>
Thanks for reporting this issue. I&#39;ve made a quick-fix change in the<br>
development version of the code on github by bumping the timeout to 5<br>
sec. This still might not help you if the latency is really bad.<br>
<br>
My current thinking on this is to &#39;throttle&#39; the timeout time the longer<br>
it takes for the cluster to appear to be up. So, at first it would<br>
attempt a 5 second timeout, and then incrementally raise it up to 15<br>
seconds as necessary. After a maximum of 15 seconds and enough retries,<br>
it would likely just error out.<br>
<br>
This is on my list for the next version.<br>
<br>
Thanks for reporting!<br>
<br>
~Justin<br>
<br>
<br>
<br>
&gt; Problem:<br>
&gt; I&#39;ve installed &amp; configured StartCluster correctly. However, when I<br>
try to start it with &quot;startcluster -s&quot;, everything goes fine until it<br>
reach the line &quot;&gt;&gt;&gt; Waiting for cluster to start...&quot; and that when it<br>
run forever(infinite loop). Even after all the instances are in<br>
&quot;running&quot; state.<br>
&gt;<br>
&gt; Solution:<br>
&gt; After debugging, I found out that the value of socket&#39;s timeout(0.25) in:<br>
&gt;<br>
&gt; File: starcluster/ec2utils.py<br>
&gt; Function: is_ssh_up()<br>
&gt; Line: s.settimeout(0.25)<br>
&gt;<br>
&gt; is too small for my connection; due to a latency issue.<br>
&gt;<br>
&gt; So I&#39;ve commented, as a quick fix, that line and everything work fine.<br>
&gt;<br>
&gt; A bigger value would solve this.<br>
&gt;<br>
&gt; Thanks for your great work and keep it up<br>
&gt; Nasser<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.14 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAkuw8/YACgkQ4llAkMfDcrmlBwCePfX/zZoQjqlh9dQS7xo4geQm<br>
wn4AoJHE0/AdvRbAMB4EIz5yvompZsRt<br>
=kjHp<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br>