mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
5d0dc8346c
this change should address the failure of ``` 2020-04-06T03:07:59.152 ERROR:teuthology.contextutil:Saw exception from nested tasks Traceback (most recent call last): File "/home/teuthworker/src/git.ceph.com_git_teuthology_wip-py3/teuthology/contextutil.py", line 32, in nested vars.append(enter()) File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__ return next(self.gen) File "/home/teuthworker/src/github.com_tchaikov_ceph_wip-qa-py3/qa/tasks/rgw.py", line 266, in configure_compression rgwadmin(ctx, client, cmd=['user', 'list'], check_status=True) File "/home/teuthworker/src/github.com_tchaikov_ceph_wip-qa-py3/qa/tasks/util/rgw.py", line 43, in rgwadmin j = json.loads(out) File "/usr/lib/python3.5/json/__init__.py", line 312, in loads s.__class__.__name__)) TypeError: the JSON object must be str, not 'bytes' ``` Signed-off-by: Kefu Chai <kchai@redhat.com> |
||
---|---|---|
.. | ||
test | ||
__init__.py | ||
rados.py | ||
rgw.py | ||
workunit.py |