yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24246
[Bug 1386562] Re: keystone did not start (ImportError: Class TemplatedCatalog cannot be found)
Reviewed: https://review.openstack.org/131394
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=7fb5082c5c7abff95eb46dd9a92c5fd8fc63ddd2
Submitter: Jenkins
Branch: master
commit 7fb5082c5c7abff95eb46dd9a92c5fd8fc63ddd2
Author: wanghong <w.wanghong@xxxxxxxxxx>
Date: Tue Oct 28 19:09:04 2014 +0800
correct templated catalog driver class
Now the templated catalog driver class "TemplatedCatalog" is removed
in this patch https://review.openstack.org/#/c/125708/2 use
"keystone.catalog.backends.templated.Catalog" instead.
Change-Id: Ib9c8ea557e7171ff0c78a1e10d752ed564aff9e7
Closes-Bug: #1386562
** Changed in: devstack
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1386562
Title:
keystone did not start (ImportError: Class TemplatedCatalog cannot be
found)
Status in devstack - openstack dev environments:
Fix Released
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
After the commit ID 1ea9d50a2c828a3eb976e458659008a5461b1418 of Steve
Martinelli (made on Thu Oct 2 12:57:20 2014 -0400), keystone service
can no longer be started.
Root cause:
- At that commit ID, the class "TemplatedCatalog" is removed from the module keystone.catalog.backends.templated. Another class named "Catalog" also in that module is used.
- However, DevStack script is not updated accordingly. Consequently, the file "devstack/lib/keystone" still points to the removed class "TemplatedCatalog".
Proposal:
- Change the file "devstack/lib/keystone" so that it points to the right class that is the "Catalog"
Excerpt of the file "devstack/lib/keystone":
# Configure ``keystone.conf`` to use templates
iniset $KEYSTONE_CONF catalog driver "keystone.catalog.backends.templated.TemplatedCatalog"
iniset $KEYSTONE_CONF catalog template_file "$KEYSTONE_CATALOG"
Excerpt of the commit ID 1ea9d50a2c828a3eb976e458659008a5461b1418:
commit 1ea9d50a2c828a3eb976e458659008a5461b1418
Author: Steve Martinelli <stevemar@xxxxxxxxxx>
Date: Thu Oct 2 12:57:20 2014 -0400
Remove deprecated TemplatedCatalog class
Use keystone.catalog.backends.templated.Catalog instead
implements bp removed-as-of-kilo
Change-Id: I0415852991e504677d1d1a81740c72f0bd8fc8bb
To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1386562/+subscriptions
References