mirror of https://github.com/ceph/ceph-ansible.git
docker: Retry osd disk prep to workaround race condition
Fixes: https://github.com/ceph/ceph-ansible/issues/1495 Signed-off-by: David Galloway <dgallowa@redhat.com>pull/1531/head
parent
bd3ae1daa9
commit
196fa7ef39
|
@ -41,6 +41,9 @@
|
||||||
- item.1.get("rc", 0) != 0
|
- item.1.get("rc", 0) != 0
|
||||||
- ceph_osd_docker_prepare_env is defined
|
- ceph_osd_docker_prepare_env is defined
|
||||||
- not osd_containerized_deployment_with_kv
|
- not osd_containerized_deployment_with_kv
|
||||||
|
# https://github.com/ceph/ceph-ansible/issues/1495
|
||||||
|
retries: 5
|
||||||
|
delay: 3
|
||||||
|
|
||||||
- name: prepare ceph osd disk with kv_store
|
- name: prepare ceph osd disk with kv_store
|
||||||
shell: |
|
shell: |
|
||||||
|
@ -66,6 +69,9 @@
|
||||||
- item.1.get("rc", 0) != 0
|
- item.1.get("rc", 0) != 0
|
||||||
- ceph_osd_docker_prepare_env is defined
|
- ceph_osd_docker_prepare_env is defined
|
||||||
- osd_containerized_deployment_with_kv
|
- osd_containerized_deployment_with_kv
|
||||||
|
# https://github.com/ceph/ceph-ansible/issues/1495
|
||||||
|
retries: 5
|
||||||
|
delay: 3
|
||||||
|
|
||||||
- name: generate ceph osd docker run script
|
- name: generate ceph osd docker run script
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in New Issue