Comment 1 for bug 1084138

Revision history for this message
Ken Pepple (ken-pepple) wrote :

This assumes that you are using keystone and that all of your glance end-points are publicly accessible, which may or may not be the case.

I think a better idea is:

1. Check if glance_api_servers is set in nova.conf, if so use them
2. If glance servers are not set in nova.conf, then look them up in keystone (assuming that keystone is being used) and set glance_api_servers to the result
3. If neither, set it to None

Does this work ?

AFAIK it should be a fairly trivial fix to nova/image/glance.py