Cannot create a user with LDAP backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Brant Knudson |
Bug Description
When running Keystone with the LDAP identity backend, creating a user fails with 400 and "must be string, not None"
Set up devstack to use LDAP.
While devstack is running commands fail, like this:
keystone user-create --name=nova --pass=mypwd --tenant_id 948d57ba2523423
Here's the error in the Keystone log:
(keystone.
(keystone.
Traceback (most recent call last):
File "/opt/stack/
result = method(context, **params)
File "/opt/stack/
self.
File "/opt/stack/
result = f(*args, **kwargs)
File "/opt/stack/
return f(self, *args, **kwargs)
File "/opt/stack/
ref = driver.
File "/opt/stack/
user_ref = self.user.
File "/opt/stack/
values = super(UserApi, self).create(
File "/opt/stack/
return super(EnabledEm
File "/opt/stack/
conn.
File "/opt/stack/
return self.conn.add_s(dn, ldap_attrs)
File "/usr/lib/
msgid = self.add(
File "/usr/lib/
return self.add_
File "/usr/lib/
return self._ldap_
File "/usr/lib/
result = func(*args,
TypeError: must be string, not None
Also, the error should be 500 Internal Server Error and not 400 Bad Request.
Changed in keystone: | |
assignee: | nobody → Brant Knudson (blk-u) |
status: | New → In Progress |
Changed in keystone: | |
importance: | Undecided → High |
milestone: | none → havana-rc1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | havana-rc1 → 2013.2 |
Related fix proposed to branch: master /review. openstack. org/48558
Review: https:/