Deploy will fail if keystone.conf has '[oslo_policy]/enforce_scope=true'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned | ||
kolla-ansible |
In Progress
|
Medium
|
Unassigned | ||
Train |
Won't Fix
|
Medium
|
Unassigned | ||
Ussuri |
Won't Fix
|
Medium
|
Unassigned | ||
Victoria |
In Progress
|
Medium
|
Unassigned |
Bug Description
In current Kolla master (train) keystone permission system has not been adapted to the new scope thinking.
$ cat /etc/kolla/
[oslo_policy]
enforce_scope = True
$ kolla-ansible -i multinode deploy
...
TASK [service-
...
failed: [control1.
== https:/
This release leverages oslo.policy’s policy-in-code feature to modify the default check strings and scope types for nearly all of keystone’s API policies. These changes make the policies more precise than they were before, using the reader, member, and admin roles where previously only the admin role and a catch-all rule was available. The changes also take advantage of system, domain, and project scope, allowing you to create role assignments for your users that are appropriate to the actions they need to perform. Eventually this will allow you to set [oslo_policy]
[bug 1806762] [bug 1630434] The entire policy.
Changed in kolla-ansible: | |
milestone: | 10.0.0 → none |
Changed in kolla-ansible: | |
milestone: | 11.0.0 → none |
Changed in kolla-ansible: | |
assignee: | Radosław Piliszek (yoctozepto) → nobody |
Some more information if the URL changes in the future.
== https:/ /docs.openstack .org/releasenot es/keystone/ en_GB/train. html == v3cloudsample. json policy file have been removed in favor of better defaults in code. These policies weren’t tested exhaustively and were misleading to users and operators.
[bug 1806762] The user policies in policy.
[bug 1806762] The grant policies in policy. v3cloudsample. json policy file have been removed in favor of better defaults in code. These policies weren’t tested exhaustively and were misleading to users and operators.
[bug 1804462] The group policies in policy. v3cloudsample. json policy file have been removed in favor of better defaults in code. These policies weren’t tested exhaustively and were misleading to users and operators.