ceph-ansible/roles/ceph-osd/tasks
Dimitri Savineau 4dffcfb429 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:08:22 -04:00
..
scenarios ceph-disk: Set max open files limit on container 2019-06-24 10:06:11 +02:00
activate_osds.yml osd: Add support for multipath disks 2018-02-09 18:06:25 +01:00
build_devices.yml Revert "osd: generate device list for osd_auto_discovery on rolling_update" 2018-08-16 11:13:12 +02:00
ceph_disk_cli_options_facts.yml remove jewel support 2018-10-12 23:38:17 +00:00
check_gpt.yml osd: fix check gpt 2017-12-20 17:42:45 +01:00
common.yml Add ceph_keyring_permissions variable to control permissions for 2018-06-28 15:48:39 +00:00
copy_configs.yml Expose /var/run/ceph 2018-04-20 15:48:32 +02:00
main.yml ceph-osd: Ensure lvm2 is installed 2019-03-20 22:59:28 +00:00
openstack_config.yml ceph-osd: check container engine rc for pools 2019-07-31 14:08:22 -04:00
start_osds.yml ceph-osd: use OSD id with systemd ceph-disk 2019-07-26 16:07:22 -04:00
system_tuning.yml Allow os_tuning_params to overwrite fs.aio-max-nr 2018-05-11 10:49:37 +01:00