yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24159
[Bug 1386562] [NEW] keystone did not start (ImportError: Class TemplatedCatalog cannot be found)
Public bug reported:
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
** Affects: devstack
Importance: Undecided
Status: New
** Affects: keystone
Importance: Undecided
Status: New
** Tags: devstack keystone
** Tags removed: and
--
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:
New
Status in OpenStack Identity (Keystone):
New
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
Follow ups
References