From d6aa086be8f8391f5e16ca169909a00291e3f3f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Wed, 15 Apr 2015 23:23:50 +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 --- rolling_update.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/rolling_update.yml b/rolling_update.yml index 1b3d96b90..1e08c3bc1 100644 --- a/rolling_update.yml +++ b/rolling_update.yml @@ -67,8 +67,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: "{{ item }}" with_items: groups.mons[0] @@ -109,8 +113,12 @@ delay: 10 delegate_to: 127.0.0.1 - - 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: "{{ item }}" with_items: groups.mons[0] -- 2.39.5