Skip to content

Commit ce6e44c

Browse files
authored
Assign the service role to all service accounts (#1379)
Signed-off-by: Christian Berendt <[email protected]>
1 parent 4912de2 commit ce6e44c

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

doc/source/notes/7.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,38 @@ Upgrade notes
381381
the output of ``openstack --os-cloud admin role list``. If it does not exist, it can
382382
be created with ``openstack --os-cloud admin role create service``.
383383

384+
This ``service`` role is required by the service accounts for authentication after the
385+
upgrade of the OpenStack services. To avoid problems during the upgrade, it is important
386+
to assign this role to all existing service accounts in advance.
387+
388+
.. code-block:: none
389+
390+
# List all users in the project service with the admin role. The existing service
391+
# accounts depend on the deployed services and may vary.
392+
$ openstack --os-cloud admin role assignment list --names --role admin --project service
393+
+-------+--------------------------+-------+-----------------+--------+--------+-----------+
394+
| Role | User | Group | Project | Domain | System | Inherited |
395+
+-------+--------------------------+-------+-----------------+--------+--------+-----------+
396+
| admin | ironic@Default | | service@Default | | | False |
397+
| admin | neutron@Default | | service@Default | | | False |
398+
| admin | gnocchi@Default | | service@Default | | | False |
399+
| admin | swift@Default | | service@Default | | | False |
400+
| admin | nova@Default | | service@Default | | | False |
401+
| admin | placement@Default | | service@Default | | | False |
402+
| admin | cinder@Default | | service@Default | | | False |
403+
| admin | glance@Default | | service@Default | | | False |
404+
| admin | designate@Default | | service@Default | | | False |
405+
| admin | octavia@Default | | service@Default | | | False |
406+
| admin | skyline@Default | | service@Default | | | False |
407+
| admin | ironic-inspector@Default | | service@Default | | | False |
408+
| admin | ceilometer@Default | | service@Default | | | False |
409+
+-------+--------------------------+-------+-----------------+--------+--------+-----------+
410+
411+
# Assign the service role to all users in the project service (repeat this step for every
412+
# user in the list.
413+
$ openstack --os-cloud admin role add --user ironic --project service service
414+
[...]
415+
384416
* The use of ProxySQL for MariaDB is now possible and it is possible to switch
385417
to it as part of the upgrade. It is not mandatory and there is no recommendation.
386418
The parameter ``enable_proxysql`` is added to ``environments/kolla/configuration.yml``

0 commit comments

Comments
 (0)