]> git.apps.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>
Fri, 11 Jun 2021 08:50:50 +0000 (10:50 +0200)
commitf7166cccbfa206f07a1ecca8d3eba0fe9d396c3a
tree23365430e4d9e128e59417b2df52a6cbea722edc
parentc2aaa96fc7d9a9b47774b51c533906004cd768bd
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>
roles/ceph-handler/tasks/main.yml