From 5c2fb75adba3681290a03a755270f4c415168896 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Mon, 27 Apr 2015 19:08:05 +0200 Subject: [PATCH] Add more OSD flags MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- rolling_update.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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] }}" -- 2.47.3