Entry to User table creates entries in local_user table for ldap and custom driver users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Ron De Rose |
Bug Description
This was observed while trying with ldap and custom driver users (not sure of the behavior for federated and sql users).
It's found that after ldap / custom driver user is configured with OpenStack and a user authentication request is placed (token issue for eg.), there are entries made into 3 tables:
- User
- local_user
- nonlocal_user
As seen below, the ldap user name is avni_u1
MariaDB [keystone]> select * from id_mapping where public_
+------
| public_id | domain_id | local_id | entity_type |
+------
| b3a54f2bbea1682
+------
1 row in set (0.00 sec)
MariaDB [keystone]> select * from user;
+------
| id | extra | enabled | default_project_id | created_at | last_active_at |
+------
| b3a54f2bbea1682
+------
1 rows in set (0.00 sec)
MariaDB [keystone]> select * from local_user;
+----+-
| id | user_id | domain_id | name | failed_auth_count | failed_auth_at |
+----+-
| | 1 | b3a54f2bbea1682
+----+-
1 rows in set (0.00 sec)
MariaDB [keystone]> select * from nonlocal_user;
+------
| domain_id | name | user_id |
+------
| | default | avni_u1 | b3a54f2bbea1682
| +------
This behavior is probably not new and is caused due to https:/
Changed in keystone: | |
assignee: | nobody → Ron De Rose (ronald-de-rose) |
Changed in keystone: | |
milestone: | none → newton-3 |
Changed in keystone: | |
importance: | Undecided → High |
Fix proposed to branch: master /review. openstack. org/357979
Review: https:/