ceph-ansible/tests
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
..
functional tox: remove ceph_dev variables and dev_setup calls 2021-06-30 09:29:58 +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-03 13:27:54 -04:00
module_utils module_utils: don't add newline to the data 2021-01-18 11:29:30 -05:00
plugins/filter improve plugins/filter testing 2020-11-30 10:05:01 +01:00
scripts workflows: add signed-off check 2021-06-30 08:17:40 +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 + cephfs instead of rgw in update job 2021-06-16 19:39:42 +02:00
pytest.ini pytest: register ceph_crash mark 2020-08-06 09:34:34 +02:00
requirements.txt requirements.txt: Move the six dependency into the general requirements 2021-03-01 15:16:55 +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.