]> git-server-git.apps.pok.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>
Fri, 12 Oct 2018 11:38:19 +0000 (11:38 +0000)
commitea691510fa7d1c7e0236522ce7500e1b9b101ad6
tree23fde100a75f1f13538198cc1ada843dab584d26
parent9f1345a85e3979b667a14017c5cf0621047fe049
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>
(cherry picked from commit c13a3c34929f34af11fbd746e9c0502a70f84b97)
infrastructure-playbooks/rolling_update.yml