]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
rolling_update: nicer way to set osd flags 1517/head
authorSébastien Han <seb@redhat.com>
Fri, 12 May 2017 13:59:52 +0000 (15:59 +0200)
committerSébastien Han <seb@redhat.com>
Fri, 25 Aug 2017 16:21:28 +0000 (18:21 +0200)
commit0205f6d6456cf9c4c8bf4ca79c009542146c10cc
tree678cff9acee9cac321dd0bbdc38ea8d6b431e752
parentd132605cb5eb750a26e6b9d209c425429f3ea709
rolling_update: nicer way to set osd flags

Prior to this patch, we were applying the osd flags like this:

"
General pre tasks
Set flags
Upgrade OSDs on a host
Unset flags <-- this triggers pending scrub to start
Set flags
Upgrade OSDs on a hosts
Unset flags <-- this triggers pending scrub to start
.
.
.
General post tasks
"

Now instead, we apply the flag once before starting the OSD update and
unset them once the last OSD is finished.

"
General pre tasks
Set flags and wait for any scrubs to finish
Upgrade OSDs on a host
Upgrade OSDs on a host
.
.
.
Unset flags
General post tasks
"

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1450754
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/rolling_update.yml