LDAP models do not support create
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Running the command:
bin/keystone-
causes the error:
File "/home/
data = values.copy()
AttributeError: 'Tenant' object has no attribute 'copy'
Adding in the following change makes this line of code work, although things still fail further on:
diff --git a/keystone/
index d0c9ffc..415ac1b 100644
--- a/keystone/
+++ b/keystone/
@@ -34,6 +34,10 @@ def create_model(name, attrs):
def __len__(self):
return len(attrs)
+
+ def copy(self):
+ """Make the model object behave like a dict."""
+ return dict(self).copy()
Cmapper.
return Cmapper
This line is grabbed from the sqlalchemy model file.
This code has been completely removed in the current codebase (post-merge of redux); please re-open if I'm mistaken.