Comment 4 for bug 1896438

Revision history for this message
Vern Hart (vern) wrote :

In the identity relation to glance-simplestreams-sync, keystone provides some auth_* variables and some service_* variables. In my deployment the service_host has the public keystone hostname and the auth_host has the internal/admin hostname. So to push this forward a bit I modified /var/run/glance_simplestreams_sync.py to use the auth_* variables in the set_openstack_env function.

And to get it to use the swift (radosgw) internal endpoint, I put the public hostname in /etc/hosts with the internal IP. This allows me to connect but now I'm getting 401 Unauthorized from radosgw. This may or may not be related.

Obviously this is not a fix. Just a work-around.