ceph-ansible/library
Dimitri Savineau 17884d9848 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-03 13:27:54 -04: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-07-07 13:16:04 +02:00
ceph_crush.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_crush_rule.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_dashboard_user.py library: exit on user creation failure 2021-08-03 13:27:54 -04:00
ceph_ec_profile.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_fs.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_key.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_mgr_module.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_osd.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_osd_flag.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_pool.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_volume.py lib/ceph-volume: support zapping by osd_id 2021-07-13 17:02:36 -04:00
ceph_volume_simple_activate.py library: use exit_module from ca_common 2020-11-26 09:13:31 +01:00
ceph_volume_simple_scan.py library: use exit_module from ca_common 2020-11-26 09:13:31 +01:00
cephadm_adopt.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
cephadm_bootstrap.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
config_template Using config_template 2015-12-16 17:19:50 +01:00
igw_client.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
igw_gateway.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
igw_lun.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
igw_purge.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
radosgw_realm.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
radosgw_user.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
radosgw_zone.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
radosgw_zonegroup.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00