yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45997
[Bug 1156298] Re: templated Catalog backend does not support listing services or endpoints
David, agreed, I'll mark it as released, since that's what we do now
when a patch closes the bug
** Changed in: keystone
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1156298
Title:
templated Catalog backend does not support listing services or
endpoints
Status in OpenStack Identity (keystone):
Fix Released
Bug description:
Recently we switched from using the SQL backend for the Catalog
Keystone component to using the templated Catalog backend. We switched
for performance reasons -- SQL connection performance over WAN was
unacceptable -- as well as the fact that novaclient and the Keystone
API itself apparently has no way of filtering endpoints based on an
availability zone, and the client simply picks the first compute
endpoint it finds in the region
Sidenote: did nobody think about cases where there is >1 availability
zone per region? :( See my summit proposal on this topic:
http://summit.openstack.org/cfp/edit/114
Anyway, I got the templated Catalog backend going without too much
fuss, but then I noticed the following:
root@c1r1.dal2 18:38:14:~# keystone service-list
No handlers could be found for logger "keystoneclient.client"
Unable to communicate with identity service: 404 Not Found
The resource could not be found.
. (HTTP 404)
root@c1r1.dal2 18:38:18:~# keystone endpoint-list
No handlers could be found for logger "keystoneclient.client"
Unable to communicate with identity service: 404 Not Found
The resource could not be found.
. (HTTP 404)
root@c1r1.dal2 18:38:20:~# keystone catalog
Service: volume
+-------------+---------------------------------------------------------------------+
| Property | Value |
+-------------+---------------------------------------------------------------------+
| adminURL | http://volume.dal2.tfoundry.com/v1/3bfaed94e4554e4c884b7f87d65e02e4 |
| internalURL | http://volume.dal2.tfoundry.com/v1/3bfaed94e4554e4c884b7f87d65e02e4 |
| publicURL | http://volume.dal2.tfoundry.com/v1/3bfaed94e4554e4c884b7f87d65e02e4 |
| region | ci |
+-------------+---------------------------------------------------------------------+
Service: image
+-------------+--------------------------------------------+
| Property | Value |
+-------------+--------------------------------------------+
| adminURL | http://image.int.dal2.tfoundry.com:9292/v1 |
| internalURL | http://image.int.dal2.tfoundry.com:9292/v1 |
| publicURL | http://image.int.dal2.tfoundry.com:9292/v1 |
| region | ci |
+-------------+--------------------------------------------+
Service: compute
+-------------+-----------------------------------------------------------------------+
| Property | Value |
+-------------+-----------------------------------------------------------------------+
| adminURL | https://compute.dal2.tfoundry.com/v2/3bfaed94e4554e4c884b7f87d65e02e4 |
| internalURL | https://compute.dal2.tfoundry.com/v2/3bfaed94e4554e4c884b7f87d65e02e4 |
| publicURL | https://compute.dal2.tfoundry.com/v2/3bfaed94e4554e4c884b7f87d65e02e4 |
| region | ci |
+-------------+-----------------------------------------------------------------------+
Service: ec2
+-------------+----------------------------------------------+
| Property | Value |
+-------------+----------------------------------------------+
| adminURL | https://ec2.dal2.tfoundry.com/services/Cloud |
| internalURL | https://ec2.dal2.tfoundry.com/services/Cloud |
| publicURL | https://ec2.dal2.tfoundry.com/services/Cloud |
| region | ci |
+-------------+----------------------------------------------+
Service: identity
+-------------+--------------------------------------------+
| Property | Value |
+-------------+--------------------------------------------+
| adminURL | https://auth.dal2.tfoundry.com/v2.0/ |
| internalURL | https://auth.dal2.tfoundry.com:35357/v2.0/ |
| publicURL | https://auth.dal2.tfoundry.com/v2.0/ |
| region | ci |
+-------------+--------------------------------------------+
The service and endpoint lists should be trivial to implement since
the catalog already contains this information. In addition, the error
message returned from keystone service-list and keystone endpoint-list
should be a 501 Not Implemented, not a 404 Not Found.
Note that this affects both Folsom and trunk.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1156298/+subscriptions