ceph-ansible/tests/functional
Dimitri Savineau d054864366 tests/rgw: use json format output for user info
If the radosgw user already exists then we need to have the output in json
format because we are expecting to load the output with json.loads()
Otherwise we have pytest failure like:

```console
self = <json.decoder.JSONDecoder object at 0x7fa2f00a5fd0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.

        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.

        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
```

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit f2bd8ae70f)
2021-08-27 14:40:32 -04:00
..
add-mdss tests: migrate to quay.ceph.io registry 2020-09-10 17:30:37 +02:00
add-mgrs tests: migrate to quay.ceph.io registry 2020-09-10 17:30:37 +02:00
add-mons tests: migrate to quay.ceph.io registry 2020-09-10 17:30:37 +02:00
add-osds Use ansible_facts 2021-03-26 00:05:33 +01:00
add-rbdmirrors Use ansible_facts 2021-03-26 00:05:33 +01:00
add-rgws Use ansible_facts 2021-03-26 00:05:33 +01:00
all-in-one Use ansible_facts 2021-03-26 00:05:33 +01:00
all_daemons tests: use nfs/mds instead of nfs/rgw 2021-06-16 09:33:59 +02:00
cephadm library: add cephadm_bootstrap module 2020-12-16 17:39:36 -05:00
collocation Use ansible_facts 2021-03-26 00:05:33 +01:00
docker2podman Use ansible_facts 2021-03-26 00:05:33 +01:00
external_clients Use ansible_facts 2021-03-26 00:05:33 +01:00
filestore-to-bluestore Use ansible_facts 2021-03-26 00:05:33 +01:00
infra_lv_create Fix units and add ability to have a dedicated instance 2019-06-10 18:18:46 +02:00
lvm-auto-discovery Use ansible_facts 2021-03-26 00:05:33 +01:00
lvm-batch Use ansible_facts 2021-03-26 00:05:33 +01:00
lvm-osds Use ansible_facts 2021-03-26 00:05:33 +01:00
migrate_ceph_disk_to_ceph_volume update osd pool set size command 2020-03-11 11:25:42 +01:00
ooo-collocation defaults: change defaults value 2020-10-02 09:32:53 +02:00
podman Use ansible_facts 2021-03-26 00:05:33 +01:00
rgw-multisite Use ansible_facts 2021-03-26 00:05:33 +01:00
shrink_mds Use ansible_facts 2021-03-26 00:05:33 +01:00
shrink_mgr tests: remove legacy file 2021-06-29 17:52:33 +02:00
shrink_mon Use ansible_facts 2021-03-26 00:05:33 +01:00
shrink_osd Use ansible_facts 2021-03-26 00:05:33 +01:00
shrink_rbdmirror Use ansible_facts 2021-03-26 00:05:33 +01:00
shrink_rgw Use ansible_facts 2021-03-26 00:05:33 +01:00
tests tests/rgw: use json format output for user info 2021-08-27 14:40:32 -04:00
.gitignore tests: ignore folders created by ceph-ansible during testing 2016-11-08 10:35:43 -06:00
dev_setup.yml tests: add more coverage in external_clients scenario 2020-03-31 19:42:14 -04:00
external_clients_admin_key.yml tests: add more coverage in external_clients scenario 2020-03-31 19:42:14 -04:00
lvm_setup.yml tests: lvm_setup.yml, add carriage return 2020-07-22 18:46:49 -04:00
rbd_map_devices.yml tests/functional: change docker to podman 2020-01-08 11:13:46 +01:00
reboot.yml tests/functional: Use the ansible reboot module 2019-03-27 08:30:50 +00:00
rgw_multisite.yml rgw: multisite refact 2021-01-28 16:37:32 -05:00
rhcs_setup.yml Use ansible_facts 2021-03-26 00:05:33 +01:00
setup.yml Use ansible_facts 2021-03-26 00:05:33 +01:00