mirror of https://github.com/ceph/ceph-ansible.git
switch_to_containers: don't set noup flag
We shouldn't set this flag when running switch_to_containers playbook.
Otherwise the playbook fails waiting for pgs to be clean.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1843569
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit b91d60d384
)
pull/5429/head
parent
5a4134098a
commit
b7ec4a995b
|
@ -212,6 +212,7 @@
|
||||||
health_osd_check_delay: 15
|
health_osd_check_delay: 15
|
||||||
containerized_deployment: true
|
containerized_deployment: true
|
||||||
osd_group_name: osds
|
osd_group_name: osds
|
||||||
|
switch_to_containers: True
|
||||||
|
|
||||||
hosts:
|
hosts:
|
||||||
- "{{ osd_group_name|default('osds') }}"
|
- "{{ osd_group_name|default('osds') }}"
|
||||||
|
|
|
@ -40,7 +40,9 @@
|
||||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
changed_when: False
|
changed_when: False
|
||||||
when: not rolling_update | default(False) | bool
|
when:
|
||||||
|
- not rolling_update | default(False) | bool
|
||||||
|
- not switch_to_containers | default(False) | bool
|
||||||
|
|
||||||
- name: include ceph_disk_cli_options_facts.yml
|
- name: include ceph_disk_cli_options_facts.yml
|
||||||
include_tasks: ceph_disk_cli_options_facts.yml
|
include_tasks: ceph_disk_cli_options_facts.yml
|
||||||
|
@ -102,6 +104,7 @@
|
||||||
changed_when: False
|
changed_when: False
|
||||||
when:
|
when:
|
||||||
- not rolling_update | default(False) | bool
|
- not rolling_update | default(False) | bool
|
||||||
|
- not switch_to_containers | default(False) | bool
|
||||||
- inventory_hostname == ansible_play_hosts_all | last
|
- inventory_hostname == ansible_play_hosts_all | last
|
||||||
|
|
||||||
- name: wait for all osd to be up
|
- name: wait for all osd to be up
|
||||||
|
|
Loading…
Reference in New Issue