]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
rolling_update: fix mon+rgw/multisite collocation
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 10 Jun 2021 18:09:55 +0000 (20:09 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 14 Jun 2021 11:59:16 +0000 (13:59 +0200)
commit611494b88fd48dc81c46f477fb5ebb94f86fc17c
tree1f94d86163e3a6c02d26a2cd072c2e11067d96b5
parent71764c34401820f31fa88cffd4ddf86272f56b47
rolling_update: fix mon+rgw/multisite collocation

When monitors and rgw are collocated with multisite enabled, the
rolling_update playbook fails because during the workflow, we run some
radosgw-admin commands very early on the first mon even though this is
the monitor being upgraded, it means the container doesn't exist since
it was stopped.

This block is relevant only for scaling out rgw daemons or initial
deployment. In rolling_update workflow, it is not needed so let's skip
it.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1970232
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit f7166cccbfa206f07a1ecca8d3eba0fe9d396c3a)
roles/ceph-handler/tasks/main.yml