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 <sebastien.han@enovance.com>

Conflicts:
	rolling_update.yml
pull/251/head
Sébastien Han 2015-04-27 19:08:05 +02:00
parent c2a50e2857
commit 5c2fb75adb
1 changed files with 12 additions and 4 deletions

View File

@ -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] }}"