Skip to content

Commit 560f2f9

Browse files
authored
Mention observer role
1 parent 05d32d4 commit 560f2f9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/source/operations/upgrading.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ Some things to watch out for:
8787
mysql -u root -p keystone
8888
# Enter the database password when prompted.
8989
SELECT * FROM trust_role WHERE trust_id = '<trust-id>' AND role_id = '<_member_-role-id>';
90+
* Policies may require the ``reader`` role rather than the non-standardised
91+
``observer`` role. The following error was observed in Horizon: ``Policy doesn’t allow os_compute_api:os-simple-tenant-usage:show to be performed``,
92+
when the user only had the observer role in the project. It is best to keep the observer role until all projects have the ``enforce_new_defaults``
93+
config option set. A one liner is shown below (or update your projects config):
94+
95+
.. code-block:: console
96+
97+
openstack role assignment list --effective --role observer -f value -c User -c Project | while read line; do echo $line | xargs bash -c 'openstack role add --user $1 --project $2 reader' _; done
9098
9199
OVN enabled by default
92100
----------------------

0 commit comments

Comments
 (0)