<div dir="ltr">On Tue, Mar 19, 2013 at 11:39 PM, Lorin Hochstein <span dir="ltr"><<a href="mailto:lorin@nimbisservices.com" target="_blank">lorin@nimbisservices.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi All:<div><br></div><div><div>I was doing a Folsom deployment from scratch, and when I tried to launch an instance my compute host failed to connect to the glance server to download the image, instead it tried to connect to itself. </div>

<div><br></div><div>I can resolve this by putting "glance_host=<ip>" into nova.conf. But I'd prefer if my compute host fetched this information from keystone rather than hard-code (hard-configure?) like this.</div>

<div><br></div><div>I assume that I don't have the right config in nova.conf (a template for that file is here: <<a href="https://github.com/lorin/openstack-ansible/blob/folsom/playbooks/templates/etc/nova/nova.conf" target="_blank">https://github.com/lorin/openstack-ansible/blob/folsom/playbooks/templates/etc/nova/nova.conf</a>>). However, tracing through the nova code, I couldn't figure out where it was that the compute host was supposed to connect to keystone to get the right endpoint for glance.</div>

<div><br></div><div>Where in the nova Folsom code does the nova-compute service query the keystone service catalog to get the endpoint for glance? <br></div><div><div><br></div></div></div></div></blockquote><div><br></div>
<div>Lorin,<div><br></div><div>I don't believe nova pulls the glance endpoint from keystone's service catalog.  I believe it's based on FLAGS.glance_api_servers here <a href="https://github.com/openstack/nova/blob/stable/folsom/nova/image/glance.py#L73" target="_blank">https://github.com/openstack/nova/blob/stable/folsom/nova/image/glance.py#L73</a></div>
<div><br></div><div>Nate</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div><div></div><div>Take care,</div><div>
<br></div><div>Lorin</div><span class=""><font color="#888888">-- <br><div dir="ltr">Lorin Hochstein<br><div>Lead Architect - Cloud Services</div><div>Nimbis Services, Inc.</div><div><a href="http://www.nimbisservices.com" target="_blank">www.nimbisservices.com</a></div>

</div>
</font></span></div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">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" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div></div>