<div dir="ltr"><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>
<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">https://192.168.206.130:9292</a></p><p style>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">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">https://github.com/openstack/nova/blob/stable/folsom/nova/flags.py#L138</a></p>
<p dir="ltr"><br></p><p style>Nate</p>
</div>