ceph-ansible/tests
Dmitriy Rabotyagov 310ce9e441 Do not pass NoneType as argument to ceph_crush_rule
With ansible-core 2.15 it is not possible to pass argument of unexpected
type, as otherwise module will fail with:
`'None' is not a string and conversion is not allowed`

With that we want to only get all existing crush rules, so we can simply
supply an empty string as a name argument, which would satisfy
requirements and have same behaviour for previous ansible versions.

Alternative approach would be to stop making `name` as a required
argument to the module and use empty string as default value
when info state is used.

Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
(cherry picked from commit b610297554)
2024-03-11 15:48:19 +01:00
..
functional Add ipv6 libvirt support scenario in vagrant 2023-06-29 15:02:10 +02:00
inventories add a mdss group to the CLI testing inventory 2016-05-06 14:47:45 -05:00
library Do not pass NoneType as argument to ceph_crush_rule 2024-03-11 15:48:19 +01:00
module_utils Initialize rbd pool at pool creation 2023-02-14 10:51:55 +01:00
plugins/filter improve plugins/filter testing 2020-11-30 10:05:01 +01:00
scripts tests: run vagrant_up.sh from dirname 2024-02-17 00:13:42 +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: skip rbdmirror tests on non-secondary daemon 2022-08-03 06:44:51 +02:00
pytest.ini pytest: register ceph_crash mark 2020-08-06 09:34:34 +02:00
requirements.txt core: bump to ansible 2.15 2024-03-11 15:48:19 +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.