User list returns "none" for some user names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Incomplete
|
Undecided
|
Zhongcheng Lao |
Bug Description
Some user names in the user list were reported as "none"
while in the DB these users have name set properly.
This only happens list_limit is not set to 0.
for num in `seq 1 100`;do openstack user create --domain default --password
$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1) $(cat
/dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1) |tee
/tmp/usercreate.txt ; done
# openstack user list
+------
| ID | Name |
+------
| ... | |
| dfa4796a26a247a
+------
# openstack user show dfa4796a26a247a
+------
| Field | Value |
+------
| domain_id | default |
| enabled | True |
| id | dfa4796a26a247a
| name | XIeLjEXK5B |
| options | {} |
| password_expires_at | None |
+------
Changed in keystone: | |
assignee: | nobody → Zhongcheng Lao (zlao) |
status: | New → In Progress |
I can't seem to reproduce this on devstack with MySQL/InnoDB, seems the select always returns results in order by ID. Can you share more information about your database configuration? What version of keystone are you using? Do you have any LDAP or federated users in addition to the SQL users?