fix: disable maintenance before checking ceph
This commit is contained in:
@@ -142,6 +142,14 @@
|
|||||||
- name: Enable Ceph rebalancing
|
- name: Enable Ceph rebalancing
|
||||||
ansible.builtin.command: ceph osd unset noout
|
ansible.builtin.command: ceph osd unset noout
|
||||||
|
|
||||||
|
##########################################################
|
||||||
|
# Disable maintenance mode
|
||||||
|
##########################################################
|
||||||
|
|
||||||
|
- name: Disable maintenance mode
|
||||||
|
ansible.builtin.command: >
|
||||||
|
ha-manager crm-command node-maintenance disable {{ inventory_hostname_short }}
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
# Ceph validation
|
# Ceph validation
|
||||||
##########################################################
|
##########################################################
|
||||||
@@ -155,14 +163,6 @@
|
|||||||
delay: 15
|
delay: 15
|
||||||
delegate_to: "{{ groups['nodes'][0] }}"
|
delegate_to: "{{ groups['nodes'][0] }}"
|
||||||
|
|
||||||
##########################################################
|
|
||||||
# Disable maintenance mode
|
|
||||||
##########################################################
|
|
||||||
|
|
||||||
- name: Disable maintenance mode
|
|
||||||
ansible.builtin.command: >
|
|
||||||
ha-manager crm-command node-maintenance disable {{ inventory_hostname_short }}
|
|
||||||
|
|
||||||
rescue:
|
rescue:
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user