Can't use sql as domain-specific driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Henry Nash |
Bug Description
File “/keystone/
File “/keystone/
@dependency.
class Assignment(
File “/keystone/
@dependency.
class Assignment(
When I specify the following contents for file “/etc/keystone/
[assignment]
driver = keystone.
[identity]
driver = keystone.
[ldap]
However, there is a problem with the following line in method requires of file “dependency.py”:
def wrapper(self, *args, **kwargs):
"""Inject each dependency from the registry."""
for dependency in self._dependencies:
if dependency not in REGISTRY:
if dependency in _future_
because it is passing arguments to the constructor of the Assignment class in file “/keystone/
To get around this problem I added the following lines to class Base(object) of file “/keystone/
def __init__(self, *args, **kwargs):
super(Base, self).__init__()
description: | updated |
Changed in keystone: | |
milestone: | none → next |
Changed in keystone: | |
status: | Invalid → New |
Changed in keystone: | |
assignee: | nobody → Henry Nash (henry-nash) |
Changed in keystone: | |
assignee: | Henry Nash (henry-nash) → Brant Knudson (blk-u) |
Changed in keystone: | |
assignee: | Henry Nash (henry-nash) → Morgan Fainberg (mdrnstm) |
Changed in keystone: | |
assignee: | Morgan Fainberg (mdrnstm) → Henry Nash (henry-nash) |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | juno-rc1 → 2014.2 |
tags: | added: juno-backport-potential |
tags: | removed: juno-backport-potential |
I trimmed the bug description down to just the first issue. Please open a second bug for your second issue so that they can be tracked independently.
What's the actual issue you're seeing here and how do you reproduce it? You only described a cause and solution.