diff --git a/teuthology/report.py b/teuthology/report.py index 45cea89cfd3..7c2d41a750e 100644 --- a/teuthology/report.py +++ b/teuthology/report.py @@ -274,7 +274,13 @@ class ResultsReporter(object): if response.status_code == 200: return job_id - resp_json = response.json() + # This call is wrapped in a try/except because of: + # http://tracker.ceph.com/issues/8166 + try: + resp_json = response.json() + except ValueError: + resp_json = dict() + if resp_json: msg = resp_json.get('message', '') else: