]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
dashboard: fix rgw user creation
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 3 Jun 2021 08:11:30 +0000 (10:11 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 3 Jun 2021 15:07:02 +0000 (17:07 +0200)
commitf3b992328ab969cc3cd1bf7631d6a1da7628ab4c
tree00dfeb10e5d4ec6d028aead59b33f8439c2b5e65
parentd2bd0961d42e14b86707f16258c2cb2d669dacf3
dashboard: fix rgw user creation

When deploying dashboard in a cluster with rgw multisite deployed.
Due to the last rgw multisite refactor, we now expect the variable
`rgw_zonemaster` to be defined in the dict `rgw_instances`.
The idea here is to create that user on the cluster as soon as we have 1
`rgw_zonemaster` set to `true` in `rgw_instances`.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1964995
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-dashboard/tasks/configure_dashboard.yml