<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 20, 2013 at 12:12 AM, Nathanael Burton <span dir="ltr"><<a href="mailto:nathanael.i.burton@gmail.com" target="_blank">nathanael.i.burton@gmail.com</a>></span> wrote:<br>
<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 class="im"><p dir="ltr">On Mar 19, 2013 11:56 PM, "Lorin Hochstein" <<a href="mailto:lorin@nimbisservices.com" target="_blank">lorin@nimbisservices.com</a>> wrote:<br>

> OK, so I'm not crazy, that means that I really do need to do something like:<br>
><br>
> glance_api_servers=<a href="http://192.168.206.130:9292" target="_blank">192.168.206.130:9292</a><br>
><br>
> or (since the default port is used)<br>
><br>
> glance_host=192.168.206.130<br>
><br>
><br>
> Lorin</p>
</div><p dir="ltr">Kinda, if using FLAGS.glance_api_servers you still need to specify the port because the code will default to port 80 if not specified [1].  Also if your glance server is configured with SSL you would do:</p>


<p dir="ltr">glance_api_servers=<a href="https://192.168.206.130:9292" target="_blank">https://192.168.206.130:9292</a></p><p>Looking back at the code, your original idea also works.  If you just specify FLAGS.glance_host it will build FLAGS.glance_api_servers based on your glance_host and the default glance_port [2]. I've always specified the glance_api_servers flag since it's the only way to specify SSL.</p>

<p dir="ltr">[1] - <a href="https://github.com/openstack/nova/blob/stable/folsom/nova/image/glance.py#L84" target="_blank">https://github.com/openstack/nova/blob/stable/folsom/nova/image/glance.py#L84</a></p><p dir="ltr">
[2] - <a href="https://github.com/openstack/nova/blob/stable/folsom/nova/flags.py#L138" target="_blank">https://github.com/openstack/nova/blob/stable/folsom/nova/flags.py#L138</a></p>
<p dir="ltr"><br></p></div></blockquote><div><br></div><div style>I filed an ops bug against nova asking to change the default behavior: <a href="https://bugs.launchpad.net/nova/+bug/1159043">https://bugs.launchpad.net/nova/+bug/1159043</a> </div>
</div><div><br></div>-- <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>
</div></div>