Merge "Check Ceph cluster healthy state before starting FS to BS playbook" into stable/victoria
This commit is contained in:
commit
e5e068a852
@ -727,6 +727,17 @@ outputs:
|
||||
fail:
|
||||
msg: The ceph-ansible filestore to bluestore playbook limit is not set; please use -e ceph_ansible_limit=##nodename##
|
||||
when: (ceph_ansible_limit is not defined) or (ceph_ansible_limit|length == 0)
|
||||
- name: ensure ceph health is OK before proceeding
|
||||
import_role:
|
||||
role: ceph
|
||||
tasks_from: ceph-health
|
||||
vars:
|
||||
fail_on_ceph_health_err: true
|
||||
fail_on_ceph_health_warn: true
|
||||
osd_percentage_min: 0
|
||||
tripleo_delegate_to: "{{ groups['ceph_mon'] | default([]) }}"
|
||||
tags:
|
||||
- ceph_health
|
||||
- name: set ceph_ansible_playbooks_default
|
||||
set_fact:
|
||||
ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/filestore-to-bluestore.yml"]
|
||||
|
Loading…
Reference in New Issue
Block a user