ceph-ansible/roles
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
..
ceph-client ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00
ceph-common Change ansible_lsb by ansible_distribution_release 2019-06-21 13:36:15 -04:00
ceph-config Add radosgw_frontend_ssl_certificate parameter 2019-07-02 20:13:09 +00:00
ceph-container-common ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00
ceph-container-engine container-common: support podman on Ubuntu 2019-06-07 10:12:36 -04:00
ceph-dashboard dashboard: fix timeout usage on rgw user creation command 2019-07-30 15:08:46 +02:00
ceph-defaults dashboard: use dedicated group only 2019-07-29 15:46:58 +02:00
ceph-facts dashboard: use dedicated group only 2019-07-29 15:46:58 +02:00
ceph-fetch-keys meta: set the right minimum ansible version required for galaxy 2018-12-11 09:59:25 +01:00
ceph-grafana Avoid to setup provisioners in a fully containerized environment 2019-07-24 14:16:55 +02:00
ceph-handler handler: fix bug in osd handlers 2019-07-18 16:49:14 +00:00
ceph-infra dashboard: use variables for port value 2019-07-19 20:33:42 +00:00
ceph-iscsi-gw ceph-iscsi: Update gateway config/template 2019-07-10 09:35:21 +00:00
ceph-mds Fix backward compat with old cephfs_pools format 2019-07-19 17:50:57 +00:00
ceph-mgr mgr: fix a typo 2019-07-29 15:46:58 +02:00
ceph-mon ceph-mon: Fix cluster name parameter 2019-07-08 09:12:37 -04:00
ceph-nfs containers: improve logging 2019-07-02 11:27:34 -04:00
ceph-node-exporter dashboard: remove cfg80211 module installation 2019-07-29 15:46:58 +02:00
ceph-osd ceph-osd: check container engine rc for pools 2019-07-31 14:07:41 -04:00
ceph-prometheus dashboard: use variables for port value 2019-07-19 20:33:42 +00:00
ceph-rbd-mirror container: rename docker directories 2019-07-25 13:40:40 +02:00
ceph-rgw container: rename docker directories 2019-07-25 13:40:40 +02:00
ceph-rgw-loadbalancer Add role definitions of ceph-rgw-loadbalancer 2019-06-06 19:44:30 +00:00
ceph-validate validate: add checks for grafana-server group definition 2019-07-29 15:46:58 +02:00