]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
rolling_update: fail early if cluster state is not OK
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 10 Jun 2019 14:26:18 +0000 (16:26 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Wed, 19 Jun 2019 08:41:25 +0000 (08:41 +0000)
commitb93064c7c83ba87b2fea74d80e1985c3c16967f4
tree9489edfa000a63d1fa174d74fd1e57045fbb5ccc
parent53dd58e84cca1efb141210e6994e6616419b6f7b
rolling_update: fail early if cluster state is not OK

starting an upgrade if the cluster isn't HEALTH_OK isn't a good idea.
Let's check for the cluster status before trying to upgrade.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 3a100cfa5265b3a5327ef6a8d382a8059391b903)
infrastructure-playbooks/rolling_update.yml