ceph-ansible/roles/ceph-osd/tasks
Dimitri Savineau 36e18e20d1 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>
(cherry picked from commit d549fffdd2)
2019-07-31 14:07:41 -04:00
..
scenarios osd: remove ceph-disk scenarios files 2019-04-12 00:45:21 +00:00
common.yml ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00
container_options_facts.yml ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00
main.yml osd: remove legacy task 2019-06-19 08:41:25 +00:00
openstack_config.yml ceph-osd: check container engine rc for pools 2019-07-31 14:07:41 -04:00
start_osds.yml ceph-volume: Set max open files limit on container 2019-06-20 20:00:53 -04:00
system_tuning.yml ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00