ceph-ansible/roles/ceph-osd
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
..
defaults update default rhcs values and docs 2019-06-04 14:18:23 +02:00
meta ceph-osd: Add support for openSUSE Leap distributions 2017-11-14 10:51:23 +00:00
tasks ceph-osd: check container engine rc for pools 2019-07-31 14:08:22 -04:00
templates ceph-osd: use OSD id with systemd ceph-disk 2019-07-26 16:07:22 -04:00
vars osd: backward compatibility with old disk_list.sh location 2019-03-18 21:56:53 +00:00
LICENSE Add READMEs for each roles 2015-07-25 10:51:53 +02:00
README.md Cleanup readme files in roles directories 2017-10-17 11:22:06 +02:00

README.md

Ansible role: ceph-osd

Documentation is available at http://docs.ceph.com/ceph-ansible/.