ceph-ansible/tests/functional
Dimitri Savineau feb0ba9dcc 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:32:56 -04:00
..
add-mdss tests: use shaman to test against ceph pacific 2021-02-12 09:15:24 +01:00
add-mgrs tests: use shaman to test against ceph pacific 2021-02-12 09:15:24 +01:00
add-mons tests: use shaman to test against ceph pacific 2021-02-12 09:15:24 +01:00
add-osds Use ansible_facts 2021-03-26 00:04:49 +01:00
add-rbdmirrors Use ansible_facts 2021-03-26 00:04:49 +01:00
add-rgws Use ansible_facts 2021-03-26 00:04:49 +01:00
all-in-one tox: remove ceph_dev variables and dev_setup calls 2021-06-30 09:29:58 +02:00
all_daemons tox: remove ceph_dev variables and dev_setup calls 2021-06-30 09:29:58 +02:00
cephadm tests: use shaman to test against ceph pacific 2021-02-12 09:15:24 +01:00
collocation tox: remove ceph_dev variables and dev_setup calls 2021-06-30 09:29:58 +02:00
docker2podman Use ansible_facts 2021-03-26 00:04:49 +01:00
external_clients Use ansible_facts 2021-03-26 00:04:49 +01:00
filestore-to-bluestore Use ansible_facts 2021-03-26 00:04:49 +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:04:49 +01:00
lvm-batch Use ansible_facts 2021-03-26 00:04:49 +01:00
lvm-osds Use ansible_facts 2021-03-26 00:04:49 +01:00
migrate_ceph_disk_to_ceph_volume update osd pool set size command 2020-03-11 11:25:42 +01:00
ooo-collocation tests: use shaman to test against ceph pacific 2021-02-12 09:15:24 +01:00
podman Use ansible_facts 2021-03-26 00:04:49 +01:00
rgw-multisite Use ansible_facts 2021-03-26 00:04:49 +01:00
shrink_mds Use ansible_facts 2021-03-26 00:04:49 +01:00
shrink_mgr tests: remove legacy file 2021-06-29 17:52:22 +02:00
shrink_mon Use ansible_facts 2021-03-26 00:04:49 +01:00
shrink_osd Use ansible_facts 2021-03-26 00:04:49 +01:00
shrink_rbdmirror Use ansible_facts 2021-03-26 00:04:49 +01:00
shrink_rgw Use ansible_facts 2021-03-26 00:04:49 +01:00
tests tests/rgw: use json format output for user info 2021-08-27 14:32:56 -04:00
.gitignore tests: ignore folders created by ceph-ansible during testing 2016-11-08 10:35:43 -06:00
dev_setup.yml tests: use shaman to test against ceph pacific 2021-02-12 09:15:24 +01:00
external_clients_admin_key.yml tests: add more coverage in external_clients scenario 2020-03-31 14:49:38 -04:00
lvm_setup.yml tests: lvm_setup.yml, add carriage return 2020-07-22 14:25:45 +02: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-27 15:46:43 +01:00
rhcs_setup.yml Use ansible_facts 2021-03-26 00:04:49 +01:00
setup.yml Use ansible_facts 2021-03-26 00:04:49 +01:00