ceph-ansible/library
Dimitri Savineau de05060049 library: exit on user creation failure
When the ceph dashboard user creation fails then the issue is hidden
as we don't check the return code and don't print the error message
in the module output.

This ends up with a failure on the ceph dashboard set roles command saying
that the user doesn't exist.

By failing on the user creation, we will have an explicit explaination of
the issue (like weak password).

Closes: #6197

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 17784624e0)
2021-08-04 17:41:29 +02:00
..
__init__.py tests for the ceph_volume module 2017-12-11 09:58:06 -06:00
ceph_add_users_buckets.py library: flake8 ceph-ansible modules 2021-08-02 15:51:39 +02:00
ceph_crush.py library: flake8 ceph-ansible modules 2021-08-02 15:51:39 +02:00
ceph_dashboard_user.py library: exit on user creation failure 2021-08-04 17:41:29 +02:00
ceph_fs.py library: remove unused module import 2021-08-02 15:51:39 +02:00
ceph_key.py library: remove unused module import 2021-08-02 15:51:39 +02:00
ceph_osd_flag.py library: flake8 ceph-ansible modules 2021-08-02 15:51:39 +02:00
ceph_pool.py library: remove unused module import 2021-08-02 15:51:39 +02:00
ceph_volume.py library: remove unused module import 2021-08-02 15:51:39 +02:00
cephadm_adopt.py library: flake8 ceph-ansible modules 2021-08-02 15:51:39 +02:00
cephadm_bootstrap.py library: add cephadm_bootstrap module 2020-12-16 17:39:36 -05:00
config_template Using config_template 2015-12-16 17:19:50 +01:00
igw_client.py library: flake8 ceph-ansible modules 2021-08-02 15:51:39 +02:00
igw_gateway.py library: flake8 ceph-ansible modules 2021-08-02 15:51:39 +02:00
igw_lun.py library: flake8 ceph-ansible modules 2021-08-02 15:51:39 +02:00
igw_purge.py library: flake8 ceph-ansible modules 2021-08-02 15:51:39 +02:00
radosgw_realm.py library: remove unused module import 2021-08-02 15:51:39 +02:00
radosgw_user.py library: remove unused module import 2021-08-02 15:51:39 +02:00
radosgw_zone.py library: remove unused module import 2021-08-02 15:51:39 +02:00
radosgw_zonegroup.py library: remove unused module import 2021-08-02 15:51:39 +02:00