ceph-ansible/tests
Dimitri Savineau 056a4fe866 ceph-dashboard: update create/get rgw user tasks
Since [1] if a rgw user already exists then the radosgw-admin user create
command will return an error instead of modifying the current user.
We were already doing separated tasks for create and get operation but
only for multisite configuration but it's not enough.
Instead we should do the get task first and depending on the result
execute the create.
This commit also adds missing run_once and delegate_to statement.

[1] https://github.com/ceph/ceph/commit/269e9b9

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit ac0f68ccf0)
2020-07-20 21:21:57 +02:00
..
functional ceph-dashboard: update create/get rgw user tasks 2020-07-20 21:21:57 +02:00
inventories add a mdss group to the CLI testing inventory 2016-05-06 14:47:45 -05:00
library ceph_volume: make zap function idempotent 2020-06-23 10:49:07 +02:00
plugins/filter move library/plugins tests files under tests dir 2019-10-28 15:54:31 +01:00
scripts tests: add time command in vagrant_up.sh 2020-01-10 17:41:27 +01: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: add dashboard testinfra configuration 2020-04-07 15:25:45 +02:00
pytest.ini tests: register mark in pytest configuration 2020-04-07 15:25:45 +02:00
requirements.txt tests/requirements: bump testinfra 2020-03-09 13:33:44 +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.