Add Ceph cluster health validation on upgrade
authorGiulio Fidente <gfidente@redhat.com>
Tue, 23 Aug 2016 20:24:57 +0000 (22:24 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Tue, 30 Aug 2016 16:27:38 +0000 (18:27 +0200)
commit4ea34edb793ab4bd3d9d5198ea9ac7568930c384
treef7fb92ec5c8433703b3f8252c26da7952833b4a3
parente5a627e43af307490a2c4d0fee4f4fe4044aecdb
Add Ceph cluster health validation on upgrade

This will prevent the Ceph Mon upgrade script from starting if the
Ceph cluster is in error state.

It also adds a parameter to ignore warning states, useful when
performing an upgrade of a cluster where the number of healthy
OSDs does not guarantee the desired replica size.

Closes-Bug: 1618533
Change-Id: I1beb8ad0812f19b1018ba19b5a9fc85fa132d7f7
extraconfig/tasks/major_upgrade_ceph_mon.sh
extraconfig/tasks/major_upgrade_pacemaker.yaml