Comment 4 for bug 1364463

Revision history for this message
Sergey Kraynev (skraynev) wrote :

@Lance: I did not see exactly this message. I get:

ERROR: Property error : server: ImageId publicURL endpoint for image service in RegionOne region not found

I investigated it and found that according to [1] there are two ServiceCatalog classes for both versions (v2 and v3).
However there is one common parent class with shared methods:

_get_service_endpoints [2] and get_endpoints[3]

In get_endpoints we sort endpoints using keyword 'region' for both versions [4]. So in v3 this key is not presented in endpoint dictionary and as result we get empty list which later said that such endpoint was not found.

[1] https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/service_catalog.py
[2] https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/service_catalog.py#L138
[3] https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/service_catalog.py#L86
[4] https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/service_catalog.py#L132