ceph-ansible/tests/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
..
ca_test_common.py library: add ec_profile module 2020-11-24 10:38:28 +01:00
test_ceph_crush.py flake8: fix all tests/library/*.py files 2020-10-02 08:51:39 +02:00
test_ceph_crush_rule.py library: add ceph_crush_rule module 2020-12-01 17:52:41 +01:00
test_ceph_dashboard_user.py library: exit on user creation failure 2021-08-03 13:27:54 -04:00
test_ceph_ec_profile.py library: add ec_profile module 2020-11-24 10:38:28 +01:00
test_ceph_fs.py library: add module_utils namespace 2020-11-24 10:38:28 +01:00
test_ceph_key.py mon: refact initial keyring generation 2020-11-25 09:34:44 +01:00
test_ceph_mgr_module.py library: fix idempotency in ceph_mgr_module 2021-02-03 08:30:44 +01:00
test_ceph_osd.py library: add ceph_osd module 2020-11-30 16:53:45 +01:00
test_ceph_osd_flag.py library: add ceph_osd_flag module 2020-12-01 10:29:11 +01:00
test_ceph_pool.py library: add missing `target_size_ratio` parameter support in ceph_pool module 2020-12-16 15:10:27 +01:00
test_ceph_volume.py lib/ceph-volume: support zapping by osd_id 2021-07-13 17:02:36 -04:00
test_ceph_volume_simple_activate.py tests: use ca_test_common with ceph_volume_simple 2020-11-30 10:05:45 +01:00
test_ceph_volume_simple_scan.py tests: use ca_test_common with ceph_volume_simple 2020-11-30 10:05:45 +01:00
test_cephadm_adopt.py library: make cephadm_adopt module idempotent 2021-01-29 21:07:39 +01:00
test_cephadm_bootstrap.py library/cephadm_bootstrap: add registry support 2021-02-03 08:27:28 +01:00
test_radosgw_realm.py library: add radosgw_realm module 2020-10-06 10:07:58 +02:00
test_radosgw_user.py library: add radosgw_user module 2020-10-06 10:07:58 +02:00
test_radosgw_zone.py library: retrieve realm id for zone/zonegroup 2021-01-29 21:07:39 +01:00
test_radosgw_zonegroup.py library: retrieve realm id for zone/zonegroup 2021-01-29 21:07:39 +01:00