]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
update: convert legacy grafana-server groupname early
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 12 Mar 2021 08:26:16 +0000 (09:26 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 16 Mar 2021 13:33:40 +0000 (14:33 +0100)
commit732e5b10b8f9566ed7876564b2152d1df5b4ed40
treeb7f235566f4dc39a0625d1d4c738c3707620d1af
parent3c8191194d4c46d593b23b1ca14f4ea36954b8a8
update: convert legacy grafana-server groupname early

If the legacy name `grafana-server` is still being used when upgrading
from Nautilus to Pacific, the task that sets the fact `rolling_update`
to `true` doesn't run on the node(s) included in that group. Indeed the
play where we set this fact (`rolling_update`) only runs on the group
`monitoring_group_name | default('monitoring')`.
As a workaround, we can run earlier the task which converts the
`grafana-server` group name to `monitoring`.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1935554
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 6ccc8b472223b08cad748856f0ef7b08da3f6622)
infrastructure-playbooks/rolling_update.yml