tenantId/default_project_id missing on Keystone service user in Mitaka
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Critical
|
Kam Nasim | ||
puppet-keystone |
New
|
Undecided
|
Kam Nasim |
Bug Description
On upgrading to Mitaka, we saw that the user ref in Keystone does not have a tenantId or default_project_id field. This breaks:
1) The Detailed view in Horizon in the Identity pane where ProjectID is shown as "None"
2) any services project based RBAC policies that we have in place.
Noticed a new local_user DB table for all the services users (no project/tenantId field in here):
keystone=# select * from local_user;
id | user_id | domain_id | name
----+--
1 | 3c1bd8c0f6324dc
2 | d1c4f7a244f7489
3 | a481a1f43ec0463
4 | 951068b3372f47a
6 | 4b76763e3759469
7 | 15c8e1e463cc437
8 | 5c3ea23eb8e1407
9 | 2b62ced877244e7
10 | 5a506282b45c406
(9 rows)
Note that an admin role is assigned for these services users in the services project. It is just not present within the user reference or keystone user-get:
$ keystone user-role-list
+------
| id | name | user_id | tenant_id |
+------
| f9985117736b468
+------
$ keystone user-get
+------
| Property | Value |
+------
| email | nova@localhost |
| enabled | True |
| id | a481a1f43ec0463
| name | nova |
| username | nova |
+------
Contrast this to Kilo/Liberty where tenantId is visible within user reference:
$ keystone user-get b7a3bcd588b5482
+------
| Property | Value |
+------
| email | nova@localhost |
| enabled | True |
| id | b7a3bcd588b5482
| name | nova |
| tenantId | 2e4a21e1a378408
| username | nova |
+------
Changed in keystone: | |
assignee: | nobody → Ron De Rose (ronald-de-rose) |
Changed in keystone: | |
status: | New → Confirmed |
Changed in keystone: | |
status: | Confirmed → New |
Changed in keystone: | |
milestone: | none → newton-3 |
importance: | Undecided → Critical |
Changed in keystone: | |
milestone: | newton-3 → none |
What do you see if you use the openstack cli (remember that the keystone cli is deprecated)?