<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>While I don't know the root cause here, I did want to rule out that Glance error as the cause. The code logging that line looks like this:</div><div><br></div><div><div>  def process_response(self, resp):</div><div>        try:</div><div>            request_id = resp.request.context.request_id</div><div>        except AttributeError:</div><div>            LOG.error(_('Unable to retrieve request id from context'))</div><div>        else:</div><div>            resp.headers['x-openstack-request-id'] = 'req-%s' % request_id</div><div>        return resp</div></div><div><br></div><div><br></div><div>It's logging a big nasty ERROR but it isn't changing the flow of the response. We might want to consider turning down the log level on that one.</div><div><br></div><div><br></div><br><div><div>On Aug 28, 2012, at 12:06 PM, Aaron Rosen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi, </div><div><br></div><div>I'm running devstack and when I boot vms I seem to be running into this error in glance which I believe is causing  the cirros image to just hang on "Booting from ROM..."  I was wondering if anyone has run into this before?  (Logs below)</div>
<div><br></div><div>Thanks, </div><div><br>Aaron </div><div><br></div><div><br></div><div><div>arosen@controller:/opt/stack$ nova image-list</div><div>+--------------------------------------+---------------------------------+--------+--------+</div>
<div>| ID                                   | Name                            | Status | Server |</div><div>+--------------------------------------+---------------------------------+--------+--------+</div><div>| a1a0f8ea-bdba-4892-8fff-2760442b59be | cirros-0.3.0-x86_64-uec         | ACTIVE |        |</div>
<div>| c40709b0-c554-4d1b-9a18-9fc393fc6d35 | cirros-0.3.0-x86_64-uec-kernel  | ACTIVE |        |</div><div>| 15d78597-4384-4b1f-894f-d1e9eee4b732 | cirros-0.3.0-x86_64-uec-ramdisk | ACTIVE |        |</div><div>+--------------------------------------+---------------------------------+--------+--------+</div>
</div><div><br></div><div><br></div><div><br></div><div>nova boot --image  a1a0f8ea-bdba-4892-8fff-2760442b59be-flavor 1 --nic net-id=e2908a4c-98cd-4ab5-b61c-131f7ed488e9 teststest</div><div><br></div><div><br></div><div>
 After booting VM from g-api. </div><div><br></div><div><br></div><div>2012-08-28 14:56:27 DEBUG glance.api.middleware.version_negotiation [-] Determining version of request: HEAD /v1/images/a1a0f8ea-bdba-4892-8fff-2760442b59be Accept:  from (pid=17874) process_request /opt/stack/glance/glance/api/middleware/version_negotiation.py:42</div>
<div>Determining version of request: HEAD /v1/images/a1a0f8ea-bdba-4892-8fff-2760442b59be Accept:</div><div>2012-08-28 14:56:27 DEBUG glance.api.middleware.version_negotiation [-] Using url versioning from (pid=17874) process_request /opt/stack/glance/glance/api/middleware/version_negotiation.py:55</div>
<div>Using url versioning</div><div>2012-08-28 14:56:27 DEBUG glance.api.middleware.version_negotiation [-] Matched version: v1 from (pid=17874) process_request /opt/stack/glance/glance/api/middleware/version_negotiation.py:67</div>
<div>Matched version: v1</div><div>2012-08-28 14:56:27 DEBUG glance.api.middleware.version_negotiation [-] new uri /v1/images/a1a0f8ea-bdba-4892-8fff-2760442b59be from (pid=17874) process_request /opt/stack/glance/glance/api/middleware/version_negotiation.py:68</div>
<div>new uri /v1/images/a1a0f8ea-bdba-4892-8fff-2760442b59be</div><div>2012-08-28 14:56:27 DEBUG glance.common.client [29d06659-c2e2-45f4-b9e9-c5e2f787562a edfe191c96d2460fa2c83a204d03893a 0d4d4b373b344f2ba292e9a56d78c2e8] Constructed URL: <a href="http://0.0.0.0:9191/images/a1a0f8ea-bdba-4892-8fff-2760442b59be">http://0.0.0.0:9191/images/a1a0f8ea-bdba-4892-8fff-2760442b59be</a> from (pid=17874) _construct_url /opt/stack/glance/glance/common/client.py:464</div>
<div>Constructed URL: <a href="http://0.0.0.0:9191/images/a1a0f8ea-bdba-4892-8fff-2760442b59be">http://0.0.0.0:9191/images/a1a0f8ea-bdba-4892-8fff-2760442b59be</a></div><div>2012-08-28 14:56:27 DEBUG glance.registry.client [29d06659-c2e2-45f4-b9e9-c5e2f787562a edfe191c96d2460fa2c83a204d03893a 0d4d4b373b344f2ba292e9a56d78c2e8] Registry request GET /images/a1a0f8ea-bdba-4892-8fff-2760442b59be HTTP 200 request id None from (pid=17874) do_request /opt/stack/glance/glance/registry/client.py:94</div>
<div>Registry request GET /images/a1a0f8ea-bdba-4892-8fff-2760442b59be HTTP 200 request id None</div><div>2012-08-28 14:56:27 ERROR glance.api.middleware.context [29d06659-c2e2-45f4-b9e9-c5e2f787562a edfe191c96d2460fa2c83a204d03893a 0d4d4b373b344f2ba292e9a56d78c2e8] Unable to retrieve request id from context</div>
<div>Unable to retrieve request id from context</div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></body></html>