mirror of https://github.com/ceph/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 <sebastien.han@enovance.com> Conflicts: rolling_update.ymlpull/251/head
parent
c2a50e2857
commit
5c2fb75adb
|
@ -76,8 +76,12 @@
|
||||||
sudo: True
|
sudo: True
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Set the noout flag
|
- name: Set OSD flags
|
||||||
command: ceph osd set noout
|
command: ceph osd set {{ item }}
|
||||||
|
with_items:
|
||||||
|
- noout
|
||||||
|
- noscrub
|
||||||
|
- nodeep-scrub
|
||||||
delegate_to: "{{ groups.mons[0] }}"
|
delegate_to: "{{ groups.mons[0] }}"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
|
@ -117,8 +121,12 @@
|
||||||
delay: 10
|
delay: 10
|
||||||
delegate_to: "{{ groups.mons[0] }}"
|
delegate_to: "{{ groups.mons[0] }}"
|
||||||
|
|
||||||
- name: Unset the noout flag
|
- name: Unset OSD flags
|
||||||
command: ceph osd unset noout
|
command: ceph osd unset {{ item }}
|
||||||
|
with_items:
|
||||||
|
- noout
|
||||||
|
- noscrub
|
||||||
|
- nodeep-scrub
|
||||||
delegate_to: "{{ groups.mons[0] }}"
|
delegate_to: "{{ groups.mons[0] }}"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue