ceph-ansible/roles/ceph-osd/tasks
Dimitri Savineau d549fffdd2 ceph-osd: check container engine rc for pools
When creating OpenStack pools, we only check if the return code from
the pool list command isn't 0 (ie: if it doesn't exist). In that case,
the return code will be 2. That's why the next condition is rc != 0 for
the pool creation.
But in containerized deployment, the return code could be different if
there's a failure on the container engine command (like container not
running). In that case, the return code could but either 1 (docker) or
125 (podman) so we should fail at this point and not in the next tasks.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1732157

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2019-07-29 15:55:04 +02:00
..
scenarios osd: remove ceph-disk scenarios files 2019-04-11 11:57:02 -04:00
common.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
container_options_facts.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
main.yml osd: remove legacy task 2019-06-18 12:45:01 -04:00
openstack_config.yml ceph-osd: check container engine rc for pools 2019-07-29 15:55:04 +02:00
start_osds.yml ceph-volume: Set max open files limit on container 2019-06-20 22:37:40 +02:00
system_tuning.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00