ceph-ansible/tests/library
Dmitriy Rabotyagov b610297554 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>
2023-12-06 19:13:39 +01:00
..
ca_test_common.py library: add ec_profile module 2020-11-24 10:38:28 +01:00
test_ceph_crush.py flake8: fix all tests/library/*.py files 2020-10-02 08:51:39 +02:00
test_ceph_crush_rule.py Do not pass NoneType as argument to ceph_crush_rule 2023-12-06 19:13:39 +01:00
test_ceph_dashboard_user.py library: exit on user creation failure 2021-08-02 15:50:02 +02:00
test_ceph_ec_profile.py library/ceph_ec_profile.py: Support CRUSH device class 2021-12-01 08:39:14 +01:00
test_ceph_fs.py library: add module_utils namespace 2020-11-24 10:38:28 +01:00
test_ceph_key.py ceph_key: drop unused result parameter 2023-05-31 15:31:44 +02:00
test_ceph_mgr_module.py tests: use quay.io instead of quay.ceph.io 2022-12-13 14:38:58 +01:00
test_ceph_osd.py tests: use quay.io instead of quay.ceph.io 2022-12-13 14:38:58 +01:00
test_ceph_osd_flag.py tests: use quay.io instead of quay.ceph.io 2022-12-13 14:38:58 +01:00
test_ceph_pool.py Initialize rbd pool at pool creation 2023-01-18 14:13:03 +01:00
test_ceph_volume.py osd: drop filestore support 2023-03-03 15:00:29 +01:00
test_ceph_volume_simple_activate.py tests: use quay.io instead of quay.ceph.io 2022-12-13 14:38:58 +01:00
test_ceph_volume_simple_scan.py tests: use quay.io instead of quay.ceph.io 2022-12-13 14:38:58 +01:00
test_cephadm_adopt.py tests: use quay.io instead of quay.ceph.io 2022-12-13 14:38:58 +01:00
test_cephadm_bootstrap.py tests: use quay.io instead of quay.ceph.io 2022-12-13 14:38:58 +01:00
test_radosgw_caps.py tests/library: Add radosgw_caps tests 2022-02-16 09:44:36 +01:00
test_radosgw_realm.py library: add realm pull to radosgw_realm module 2021-03-12 18:21:37 +01:00
test_radosgw_user.py library: add radosgw_user module 2020-10-06 10:07:58 +02:00
test_radosgw_zone.py Update zonegroup test. 2023-08-08 07:52:21 +02:00
test_radosgw_zonegroup.py library: retrieve realm id for zone/zonegroup 2021-01-29 21:07:39 +01:00