mirror of https://github.com/ceph/ceph-ansible.git
upgrade: accept HEALTH_OK and HEALTH_WARN as valid state
3a100cfa52
introduced a check which is a
bit too restrictive, let's accept HEALTH_OK and HEALTH_WARN.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/4140/head
parent
ba73dc7b21
commit
6dce51183b
|
@ -118,7 +118,7 @@
|
|||
- name: fail if cluster isn't in an acceptable state
|
||||
fail:
|
||||
msg: "cluster is not in an acceptable state!"
|
||||
when: not (check_cluster_status.stdout | from_json).health.status == 'HEALTH_OK'
|
||||
when: (check_cluster_status.stdout | from_json).health.status == 'HEALTH_ERR'
|
||||
when: inventory_hostname == groups[mon_group_name] | first
|
||||
|
||||
- name: ensure /var/lib/ceph/bootstrap-rbd-mirror is present
|
||||
|
|
Loading…
Reference in New Issue