mirror of https://github.com/ceph/ceph-ansible.git
4dffcfb429
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
|
||
---|---|---|
.. | ||
scenarios | ||
activate_osds.yml | ||
build_devices.yml | ||
ceph_disk_cli_options_facts.yml | ||
check_gpt.yml | ||
common.yml | ||
copy_configs.yml | ||
main.yml | ||
openstack_config.yml | ||
start_osds.yml | ||
system_tuning.yml |