User operations with LDAP Identity and enabled_mask/user_enabled_default fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Brant Knudson | ||
Grizzly |
Fix Released
|
High
|
Brant Knudson |
Bug Description
Start with devstack configured for LDAP.
Change configuration so that user_enabled_mask=2 and user_enabled_
Try to create a user.
$ keystone user-create --name blktest2 --tenant demo --pass test2pwd
-- fails
First problem is, can't get a token.
(keystone.
Traceback (most recent call last):
File "/opt/stack/
result = method(context, **params)
File "/opt/stack/
context, auth)
File "/opt/stack/
username, DEFAULT_DOMAIN_ID)
File "/opt/stack/
return f(*args, **kw)
File "/opt/stack/
ref = identity.
File "/opt/stack/
res = self.get_all(query)
File "/opt/stack/
return super(EnabledEm
File "/opt/stack/
for x in self._ldap_
File "/opt/stack/
obj[
KeyError: 'enabled'
When work around can't get a token, can't create user.
(keystone.
Traceback (most recent call last):
File "/opt/stack/
result = method(context, **params)
File "/opt/stack/
new_user_ref = self.identity_
File "/opt/stack/
return self.driver.
File "/opt/stack/
user_ref = self.user.
File "/opt/stack/
self.
File "/opt/stack/
if value != ((values[
TypeError: unsupported operand type(s) for &: 'str' and 'int'
description: | updated |
Changed in keystone: | |
assignee: | nobody → Brant Knudson (blk-u) |
Changed in keystone: | |
importance: | Undecided → High |
Changed in keystone: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | havana-3 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/40893
Review: https:/