]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
upgrade: consider all 'active+clean' states as valid pgs
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 24 Sep 2018 12:21:24 +0000 (14:21 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Tue, 25 Sep 2018 12:12:06 +0000 (12:12 +0000)
commitc13a3c34929f34af11fbd746e9c0502a70f84b97
tree010cc9e2ea43308a5a0c0b13c9e004013c127b42
parent4cd675e7ec3e63e5c4f478ac579b9d8275239c22
upgrade: consider all 'active+clean' states as valid pgs

In cluster with a large number of PGs, it can be expected some of them
scrubbing, it's a normal operation.
Preventing from scrubbing operation force to set noscrub flag before a
rolling update which is a problem because it pauses an important data
integrity operation until the end of the rolling upgrade.

This commit allows an upgrade even while PGs are scrubbing.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1616066
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/rolling_update.yml