yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45120
[Bug 1367113] Re: Templated catalog backend not implemented
Reviewed: https://review.openstack.org/158442
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=b1b4350017c8e0177193b3b013c3d9c9f9b9d23a
Submitter: Jenkins
Branch: master
commit b1b4350017c8e0177193b3b013c3d9c9f9b9d23a
Author: David Stanek <dstanek@xxxxxxxxxxx>
Date: Tue Feb 17 19:05:56 2015 +0000
Removes KVS catalog backend
The templated backend relied on the KVS backend to implement some
functionality. The functionality (CRUD for endpoint, services, etc.) is
arguably incorrect since it won't actually change the contents of the
catalog. The read only methods have been fixed to use the templated data
and the write methods raise NotImplemented.
bp: removed-as-of-mitaka
Partial-Bug: #1077282
Closes-Bug: #1367113
Closes-Bug: #1269789
Change-Id: Iaa68b18f0b6d7e9f5dc0cbf7d21a3d90dcdc1ea4
** Changed in: keystone
Status: In Progress => 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/1367113
Title:
Templated catalog backend not implemented
Status in OpenStack Identity (keystone):
Fix Released
Bug description:
In Icehouse keystone 2014.1.1 and configuring
default_catalog.templates
(http://docs.openstack.org/developer/keystone/configuration.html
#service-catalog).
The templated catalog backend is not all implemented. Functions like:
- endpoint list
- endpoint get (show)
- region list
- region get (show)
- service list
- service get (show)
Are not implemented, so they are delegating on KVS catalog backend.
Examples:
$ openstack --os-token ADMIN --os-url="http://localhost:5000/v3" --os-identity-api-version=3 --insecure region list
$ openstack --os-token ADMIN --os-url="http://localhost:5000/v3" --os-identity-api-version=3 --insecure endpoint list
$ openstack --os-token ADMIN --os-url="http://localhost:5000/v3" --os-identity-api-version=3 --insecure service list
When you call them from python-keystoneclient or python-
openstackclient, this calls are delegated on the Templated superclass,
i.e., Kvs class. The problem is Templated backend has obtained all the
info about the endpoints (reading default_catalog.templates file on
__init__ function) but Kvs backend doesn't have any idea about that,
so that calls always returns empty.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1367113/+subscriptions
References