ceph-ansible/tests/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
..
test_ceph_crush.py flake8: fix all tests/library/*.py files 2020-10-02 09:00:56 -04:00
test_ceph_dashboard_user.py library: exit on user creation failure 2021-08-04 17:41:29 +02:00
test_ceph_fs.py library: add ceph_fs module 2020-10-06 14:59:49 +02:00
test_ceph_key.py mon: refact initial keyring generation 2020-11-26 09:12:22 +01:00
test_ceph_osd_flag.py library: add ceph_osd_flag module 2020-12-15 14:12:44 +01:00
test_ceph_pool.py library: add missing `target_size_ratio` parameter support in ceph_pool module 2020-12-16 10:57:33 -05:00
test_ceph_volume.py lib/ceph-volume: support zapping by osd_id 2021-07-13 18:04:17 +02:00
test_cephadm_adopt.py library: add cephadm_adopt module 2020-12-16 17:39:26 -05:00
test_cephadm_bootstrap.py library: add cephadm_bootstrap module 2020-12-16 17:39:36 -05:00
test_radosgw_realm.py library: add radosgw_realm module 2020-10-06 15:00:17 +02:00
test_radosgw_user.py library: add radosgw_user module 2020-10-06 15:00:17 +02:00
test_radosgw_zone.py library: add radosgw_zone module 2020-10-06 15:00:17 +02:00
test_radosgw_zonegroup.py library: add radosgw_zonegroup module 2020-10-06 15:00:17 +02:00