Comment 7 for bug 1459169

Revision history for this message
YangLei (yanglyy) wrote :

glance-api and glance-registry are distributed on different nodes. bind-host and host will be different in environment.
It seems the current openstack cookbook cannot handle this case. (glance-api and glance-registry in same node)

For proxy:
User can set different IP for bind-host and host in environment:
openstack.endpoints.bind-host = 127.0.0.1 ---> the value will be assigned to bind_host in glance-registry.conf
openstack.endpoints.host = 10.6.1.108 ---> the value will be assigned to registry_host in glance-api.conf

if it happens, glance-api will fail to connect glance-registry.

Anyway, We need make sure that registry_host in glance-api.conf and bind_host in glance-registry.conf always are same.