ceph-ansible/tests
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
..
functional tests: remove legacy file 2021-06-29 17:52:33 +02:00
inventories add a mdss group to the CLI testing inventory 2016-05-06 14:47:45 -05:00
library library: exit on user creation failure 2021-08-04 17:41:29 +02:00
plugins/filter move library/plugins tests files under tests dir 2019-10-28 09:23:17 +01:00
scripts workflows: add signed-off check 2021-06-30 08:28:49 +02:00
README.md WIP: first implementation of functional tests 2015-02-22 02:31:28 +01:00
README.rst tests: create a README with some explanation on how to use the test harness 2016-11-04 13:59:33 -04:00
conftest.py tests: use nfs/mds instead of nfs/rgw 2021-06-16 09:33:59 +02:00
pytest.ini pytest: register ceph_crash mark 2020-08-06 09:41:54 +02:00
requirements.txt requirements.txt: Move the six dependency into the general requirements 2021-03-01 15:17:10 +01:00

README.md

Functional tests

These playbooks aim to individually validate each Ceph component. Some of them require packages to be installed. Ideally you will run these tests from a client machine or from the Ansible server.