← Back to team overview

openstack team mailing list archive

nova-compute and querying keystone for glance endpoint

 

Hi All:

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.

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.

I assume that I don't have the right config in nova.conf (a template for
that file is here: <
https://github.com/lorin/openstack-ansible/blob/folsom/playbooks/templates/etc/nova/nova.conf>).
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.

Where in the nova Folsom code does the nova-compute service query the
keystone service catalog to get the endpoint for glance?

Take care,

Lorin
-- 
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com

Follow ups