← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1807805] [NEW] User list returns "none" for some user names

 

Public bug reported:

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        |
+----------------------------------+-------------+
| ...                              |             |
| dfa4796a26a247a891608b7422cd9a59 | None        |
+----------------------------------+-------------+

# openstack user show dfa4796a26a247a891608b7422cd9a59
+---------------------+----------------------------------+
| Field               | Value                            |
+---------------------+----------------------------------+
| domain_id           | default                          |
| enabled             | True                             |
| id                  | dfa4796a26a247a891608b7422cd9a59 |
| name                | XIeLjEXK5B                       |
| options             | {}                               |
| password_expires_at | None                             |
+---------------------+----------------------------------+

** Affects: keystone
     Importance: Undecided
     Assignee: Zhongcheng Lao (zlao)
         Status: In Progress

** Changed in: keystone
       Status: New => In Progress

** Changed in: keystone
     Assignee: (unassigned) => Zhongcheng Lao (zlao)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1807805

Title:
  User list returns "none" for some user names

Status in OpenStack Identity (keystone):
  In Progress

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        |
  +----------------------------------+-------------+
  | ...                              |             |
  | dfa4796a26a247a891608b7422cd9a59 | None        |
  +----------------------------------+-------------+

  # openstack user show dfa4796a26a247a891608b7422cd9a59
  +---------------------+----------------------------------+
  | Field               | Value                            |
  +---------------------+----------------------------------+
  | domain_id           | default                          |
  | enabled             | True                             |
  | id                  | dfa4796a26a247a891608b7422cd9a59 |
  | name                | XIeLjEXK5B                       |
  | options             | {}                               |
  | password_expires_at | None                             |
  +---------------------+----------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1807805/+subscriptions