From: Sébastien Han Date: Mon, 27 Apr 2015 17:08:05 +0000 (+0200) Subject: Add more OSD flags X-Git-Tag: v1.0.0~221^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F251%2Fhead;p=ceph-ansible.git Add more OSD flags We don't really want to trigger any sort of scrubbing process while performing the upgrade. Signed-off-by: Sébastien Han Conflicts: rolling_update.yml --- diff --git a/rolling_update.yml b/rolling_update.yml index 0022bde03..fbc5c091c 100644 --- a/rolling_update.yml +++ b/rolling_update.yml @@ -76,8 +76,12 @@ sudo: True pre_tasks: - - name: Set the noout flag - command: ceph osd set noout + - name: Set OSD flags + command: ceph osd set {{ item }} + with_items: + - noout + - noscrub + - nodeep-scrub delegate_to: "{{ groups.mons[0] }}" roles: @@ -117,8 +121,12 @@ delay: 10 delegate_to: "{{ groups.mons[0] }}" - - name: Unset the noout flag - command: ceph osd unset noout + - name: Unset OSD flags + command: ceph osd unset {{ item }} + with_items: + - noout + - noscrub + - nodeep-scrub delegate_to: "{{ groups.mons[0] }}"