yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02529
[Bug 1166701] Re: Error creating user with unicode username
** Changed in: keystone
Status: Fix Committed => Fix Released
** Changed in: keystone
Milestone: None => havana-1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1166701
Title:
Error creating user with unicode username
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
Creating user with unicode username will produce 500.
Here is the culprit in keystone/common/sql/core.py,
73 if isinstance(column.type, String):
74 if column.type.length and \
75 column.type.length < len(str(v)):
It tries to construct a byte string object when testing the length of the string field (username in this case).
This will cause error if the string field ( v ) is a unicode object.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1166701/+subscriptions