I did a little more digging and I'm still not sure what the problem is. I can create/delete users, groups, projects, domains, but not roles as there are no buttons.
For OPENSTACK_KEYSTONE_BACKEND in local_settings.py we have:
# openstack commands to compare vs cloud_admin policy - truncated for launchpad formatting
$ os domain list
+----------------------------------+----------------+
| ID | Name |
+----------------------------------+----------------+
| 7b67d5a059154b45a5f4cb6f80310493 | admin_domain |
+----------------------------------+----------------+
$ os user show admin
+---------------------+----------------------------------+
| Field | Value |
+---------------------+----------------------------------+
| domain_id | 7b67d5a059154b45a5f4cb6f80310493 |
| email | juju@localhost |
| enabled | True |
| id | 70ffd1578204492b954792af2607bffd |
| name | admin |
| options | {} |
| password_expires_at | None |
+---------------------+----------------------------------+
$ os role list
+----------------------------------+---------------+
| ID | Name |
+----------------------------------+---------------+
| 8a01a3463f584c34a5c56282a90b53a7 | Admin |
+----------------------------------+---------------+
$ os role assignment list -f json
...
{
"Role": "8a01a3463f584c34a5c56282a90b53a7",
"User": "70ffd1578204492b954792af2607bffd",
"Group": "",
"Project": "",
"Domain": "7b67d5a059154b45a5f4cb6f80310493",
"System": "",
"Inherited": false
},
...
Static assets are collected and compressed and apache2/memcached restarted.
I've been testing with the Ubuntu package so I'll have to test this with upstream and see what is different.
I did a little more digging and I'm still not sure what the problem is. I can create/delete users, groups, projects, domains, but not roles as there are no buttons.
For OPENSTACK_ KEYSTONE_ BACKEND in local_settings.py we have:
OPENSTACK_ KEYSTONE_ BACKEND = { edit_user' : True, edit_group' : True, edit_project' : True, edit_domain' : True, edit_role' : True,
'name': 'native',
'can_
'can_
'can_
'can_
'can_
}
The keystone v3 policy looks fine and I'm using a cloud admin (not a domain admin, so this is not the same as bug 1775227):
"admin_ required" : "role:Admin", required and rule:domain_ id:7b67d5a05915 4b45a5f4cb6f803 10493", get_role" : "rule:admin_ required" , list_roles" : "rule:admin_ required" , create_ role": "rule:cloud_admin", update_ role": "rule:cloud_admin", delete_ role": "rule:cloud_admin",
"cloud_admin": "rule:admin_
...
"identity:
"identity:
"identity:
"identity:
"identity:
# openstack commands to compare vs cloud_admin policy - truncated for launchpad formatting
$ os domain list ------- ------- ------- ------- +------ ------- ---+ ------- ------- ------- ------- +------ ------- ---+ 5a5f4cb6f803104 93 | admin_domain | ------- ------- ------- ------- +------ ------- ---+
+------
| ID | Name |
+------
| 7b67d5a059154b4
+------
$ os user show admin ------- ------- -+----- ------- ------- ------- ------- -+ ------- ------- -+----- ------- ------- ------- ------- -+ 5a5f4cb6f803104 93 | b954792af2607bf fd | ------- ------- -+----- ------- ------- ------- ------- -+
+------
| Field | Value |
+------
| domain_id | 7b67d5a059154b4
| email | juju@localhost |
| enabled | True |
| id | 70ffd1578204492
| name | admin |
| options | {} |
| password_expires_at | None |
+------
$ os role list ------- ------- ------- ------- +------ ------- --+ ------- ------- ------- ------- +------ ------- --+ 4a5c56282a90b53 a7 | Admin | ------- ------- ------- ------- +------ ------- --+
+------
| ID | Name |
+------
| 8a01a3463f584c3
+------
$ os role assignment list -f json 34a5c56282a90b5 3a7", 2b954792af2607b ffd", 45a5f4cb6f80310 493",
...
{
"Role": "8a01a3463f584c
"User": "70ffd157820449
"Group": "",
"Project": "",
"Domain": "7b67d5a059154b
"System": "",
"Inherited": false
},
...
Static assets are collected and compressed and apache2/memcached restarted.
I've been testing with the Ubuntu package so I'll have to test this with upstream and see what is different.