Project

General

Profile

Actions

Bug #49000

closed

JSONDecodeError when wait_for_mgr_restart()

Added by Kefu Chai about 3 years ago. Updated about 3 years ago.

Status:
Duplicate
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2021-01-25T15:18:43.067 INFO:teuthology.orchestra.run.smithi025.stderr:/usr/bin/ceph:                 "log_to_file": {
2021-01-25T15:18:43.067 INFO:teuthology.orchestra.run.smithi025.stderr:/usr/bin/ceph:                     "name": "log_to_file",
2021-01-25T15:18:43.067 INFO:teuthology.orchestra.run.smithi025.stderr:/usr/bin/ceph:                     "type": "bool",
2021-01-25T15:18:43.068 INFO:teuthology.orchestra.run.smithi025.stderr:/usr/bin/ceph:                     "level": "advanced",
2021-01-25T15:18:43.068 INFO:teuthology.orchestra.run.smithi025.stderr:/usr/bin/ceph:                     "flags": 1,
2021-01-25T15:18:43.069 INFO:teuthology.orchestra.run.smithi025.stderr:/usr/bin/ceph:
2021-01-25T15:18:43.069 INFO:teuthology.orchestra.run.smithi025.stderr:Traceback (most recent call last):
2021-01-25T15:18:43.070 INFO:teuthology.orchestra.run.smithi025.stderr:  File "/home/ubuntu/cephtest/cephadm", line 7539, in <module>
2021-01-25T15:18:43.070 INFO:teuthology.orchestra.run.smithi025.stderr:    main()
2021-01-25T15:18:43.070 INFO:teuthology.orchestra.run.smithi025.stderr:  File "/home/ubuntu/cephtest/cephadm", line 7528, in main
2021-01-25T15:18:43.070 INFO:teuthology.orchestra.run.smithi025.stderr:    r = ctx.func(ctx)
2021-01-25T15:18:43.071 INFO:teuthology.orchestra.run.smithi025.stderr:  File "/home/ubuntu/cephtest/cephadm", line 1629, in _default_image
2021-01-25T15:18:43.071 INFO:teuthology.orchestra.run.smithi025.stderr:    return func(ctx)
2021-01-25T15:18:43.071 INFO:teuthology.orchestra.run.smithi025.stderr:  File "/home/ubuntu/cephtest/cephadm", line 3741, in command_bootstrap
2021-01-25T15:18:43.071 INFO:teuthology.orchestra.run.smithi025.stderr:    prepare_dashboard(ctx, uid, gid, cli, wait_for_mgr_restart)
2021-01-25T15:18:43.071 INFO:teuthology.orchestra.run.smithi025.stderr:  File "/home/ubuntu/cephtest/cephadm", line 3461, in prepare_dashboard
2021-01-25T15:18:43.072 INFO:teuthology.orchestra.run.smithi025.stderr:    wait_for_mgr_restart()
2021-01-25T15:18:43.072 INFO:teuthology.orchestra.run.smithi025.stderr:  File "/home/ubuntu/cephtest/cephadm", line 3690, in wait_for_mgr_restart
2021-01-25T15:18:43.072 INFO:teuthology.orchestra.run.smithi025.stderr:    j = json.loads(out)
2021-01-25T15:18:43.072 INFO:teuthology.orchestra.run.smithi025.stderr:  File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
2021-01-25T15:18:43.072 INFO:teuthology.orchestra.run.smithi025.stderr:    return _default_decoder.decode(s)
2021-01-25T15:18:43.073 INFO:teuthology.orchestra.run.smithi025.stderr:  File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
2021-01-25T15:18:43.073 INFO:teuthology.orchestra.run.smithi025.stderr:    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2021-01-25T15:18:43.073 INFO:teuthology.orchestra.run.smithi025.stderr:  File "/usr/lib/python3.6/json/decoder.py", line 355, in raw_decode
2021-01-25T15:18:43.073 INFO:teuthology.orchestra.run.smithi025.stderr:    obj, end = self.scan_once(s, idx)
2021-01-25T15:18:43.073 INFO:teuthology.orchestra.run.smithi025.stderr:json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 3212 column 15 (char 114688)
2021-01-25T15:18:43.074 INFO:teuthology.orchestra.run.smithi025.stderr:Releasing lock 140374944318744 on /run/cephadm/68787b28-5f20-11eb-8f94-001a4aab830c.lock
2021-01-25T15:18:43.074 INFO:teuthology.orchestra.run.smithi025.stderr:Lock 140374944318744 released on /run/cephadm/68787b28-5f20-11eb-8f94-001a4aab830c.lock
2021-01-25T15:18:43.074 DEBUG:teuthology.orchestra.run:got remote process result: 1

Related issues 1 (0 open1 closed)

Is duplicate of Orchestrator - Bug #48993: cephadm: 'mgr stat' and/or 'pg dump' output truncatedResolved

Actions
Actions #1

Updated by Kefu Chai about 3 years ago

  • Is duplicate of Bug #48993: cephadm: 'mgr stat' and/or 'pg dump' output truncated added
Actions #2

Updated by Sebastian Wagner about 3 years ago

  • Status changed from In Progress to New
Actions #3

Updated by Sebastian Wagner about 3 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF