<div dir="ltr"><pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px;color:rgb(0,0,0)">I have applied the proposed patch for the setattr launch error</pre>
<pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px;color:rgb(0,0,0)"><br></pre><pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px;color:rgb(0,0,0)">
I patch works, but the launch still fails. </pre><pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px;color:rgb(0,0,0)">The stack trace just says the creation failed.</pre>
<pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px;color:rgb(0,0,0)"><br></pre><pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px;color:rgb(0,0,0)">
<pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace">127.0.0.1 - - [16/Sep/2013 12:21:20] "POST /v1.0/2c8b2627a169458e8ab875690a51eabd/clusters HTTP/1.1" 202 1877 1.441746
2013-09-16 12:21:42.592 47355 WARNING savanna.service.instances [-] Can't start cluster 'cluster-1' (reason: node cluster-1-workers-002 has error status)
2013-09-16 12:21:51.369 47355 ERROR savanna.context [-] Thread 'cluster-creating-057ae8f2-ce41-4508-9696-3affe064178d' fails with exception: 'node cluster-1-workers-002 has error status'
2013-09-16 12:21:51.369 47355 TRACE savanna.context Traceback (most recent call last):
2013-09-16 12:21:51.369 47355 TRACE savanna.context   File "/home/stack/savanna-venv/local/lib/python2.7/site-packages/savanna/context.py", line 93, in wrapper
2013-09-16 12:21:51.369 47355 TRACE savanna.context     func(*args, **kwargs)
2013-09-16 12:21:51.369 47355 TRACE savanna.context   File "/home/stack/savanna-venv/local/lib/python2.7/site-packages/savanna/service/api.py", line 137, in _provision_cluster
2013-09-16 12:21:51.369 47355 TRACE savanna.context     i.create_cluster(cluster)
2013-09-16 12:21:51.369 47355 TRACE savanna.context   File "/home/stack/savanna-venv/local/lib/python2.7/site-packages/savanna/service/instances.py", line 63, in create_cluster
2013-09-16 12:21:51.369 47355 TRACE savanna.context     _rollback_cluster_creation(cluster, ex)
2013-09-16 12:21:51.369 47355 TRACE savanna.context   File "/home/stack/savanna-venv/local/lib/python2.7/site-packages/savanna/openstack/common/excutils.py", line 70, in __exit__
2013-09-16 12:21:51.369 47355 TRACE savanna.context     six.reraise(self.type_, self.value, self.tb)
2013-09-16 12:21:51.369 47355 TRACE savanna.context   File "/home/stack/savanna-venv/local/lib/python2.7/site-packages/savanna/service/instances.py", line 45, in create_cluster
2013-09-16 12:21:51.369 47355 TRACE savanna.context     cluster = _await_instances(cluster)</pre></pre><div class="gmail_extra"><div class="gmail_quote"><br></div><div class="gmail_quote">complete details here: <a href="http://paste.openstack.org/show/47126/">http://paste.openstack.org/show/47126/</a><br>
</div><div class="gmail_quote">I can see in horizon that it makes it past the "waiting" log message.</div><div class="gmail_quote"><br></div><div class="gmail_quote">My suspicion is with volumes.attach() below since the output from the cluster_create contains </div>
<div class="gmail_quote"><br></div><div class="gmail_quote"><pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px;color:rgb(0,0,0)">"volume_mount_prefix": "/volumes/disk", </pre>
</div><div class="gmail_quote"><br></div><div class="gmail_quote">I am using the vmware machine as configured in the guide, but </div><div class="gmail_quote">locate /volumes/disk returns nothing.</div><div class="gmail_quote">
<br></div><div class="gmail_quote">--- here is instances.py where the exception is thrown</div><div class="gmail_quote"><br></div><div class="gmail_quote"><div class="gmail_quote">def create_cluster(cluster):</div><div class="gmail_quote">
    ctx = context.ctx()</div><div class="gmail_quote">    try:</div><div class="gmail_quote">        # create all instances</div><div class="gmail_quote">        conductor.cluster_update(ctx, cluster, {"status": "Spawning"})</div>
<div class="gmail_quote">        LOG.info(g.format_cluster_status(cluster))</div><div class="gmail_quote">        _create_instances(cluster)</div><div class="gmail_quote"><br></div><div class="gmail_quote">        # wait for all instances are up and accessible</div>
<div class="gmail_quote">        cluster = conductor.cluster_update(ctx, cluster, {"status": "Waiting"})</div><div class="gmail_quote">        LOG.info(g.format_cluster_status(cluster))</div><div class="gmail_quote">
        cluster = _await_instances(cluster)</div><div class="gmail_quote"><br></div><div class="gmail_quote">        # attach volumes</div><div class="gmail_quote">        volumes.attach(cluster)</div><div class="gmail_quote">
<br></div><div class="gmail_quote">        # prepare all instances</div><div class="gmail_quote">        cluster = conductor.cluster_update(ctx, cluster,</div><div class="gmail_quote">                                           {"status": "Preparing"})</div>
<div class="gmail_quote">        LOG.info(g.format_cluster_status(cluster))</div><div class="gmail_quote"><br></div><div class="gmail_quote">        _configure_instances(cluster)</div><div class="gmail_quote">        </div>
<div class="gmail_quote">    except Exception as ex:</div><div class="gmail_quote">        LOG.warn("Can't start cluster '%s' (reason: %s)", <a href="http://cluster.name">cluster.name</a>, ex)</div><div>
<br></div><div>tips to debug?</div></div></div></div>