Project

General

Profile

Actions

Bug #48119

closed

JSONDecodeErrors break OSD deploy

Added by Michael Fritch over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm
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

a/teuthology/mgfritch-2020-11-03_14:22:58-rados:cephadm-wip-mgfritch-testing-2020-11-02-1045-distro-basic-smithi/5586893/teuthology.log

2020-11-03T21:47:43.136 INFO:teuthology.orchestra.run.smithi190:> sudo cephadm --image quay.ceph.io/ceph-ci/ceph:9b3ad64c4a7e93bad1c734ad3f5c1c259af6157d shell -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring --fsid c3b7212c-1e1d-11eb-a2ae-001a4aab830c -- ceph-volume lvm zap /dev/vg_nvme/lv_4
2020-11-03T21:47:44.869 INFO:teuthology.orchestra.run.smithi190.stderr:--> Zapping: /dev/vg_nvme/lv_4
2020-11-03T21:47:44.870 INFO:teuthology.orchestra.run.smithi190.stderr:Running command: /usr/bin/dd if=/dev/zero of=/dev/vg_nvme/lv_4 bs=1M count=10 conv=fsync
2020-11-03T21:47:44.870 INFO:teuthology.orchestra.run.smithi190.stderr: stderr: 10+0 records in
2020-11-03T21:47:44.870 INFO:teuthology.orchestra.run.smithi190.stderr:10+0 records out
2020-11-03T21:47:44.870 INFO:teuthology.orchestra.run.smithi190.stderr:10485760 bytes (10 MB, 10 MiB) copied, 0.0109102 s, 961 MB/s
2020-11-03T21:47:44.870 INFO:teuthology.orchestra.run.smithi190.stderr: stderr:
2020-11-03T21:47:44.870 INFO:teuthology.orchestra.run.smithi190.stderr:--> Zapping successful for: <LV: /dev/vg_nvme/lv_4>
2020-11-03T21:47:45.362 INFO:teuthology.orchestra.run.smithi190:> sudo cephadm --image quay.ceph.io/ceph-ci/ceph:9b3ad64c4a7e93bad1c734ad3f5c1c259af6157d shell -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring --fsid c3b7212c-1e1d-11eb-a2ae-001a4aab830c -- ceph orch daemon add osd smithi190:vg_nvme/lv_4
2020-11-03T21:47:54.577 INFO:teuthology.orchestra.run.smithi190.stderr:Error EINVAL: Traceback (most recent call last):
2020-11-03T21:47:54.577 INFO:teuthology.orchestra.run.smithi190.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 1195, in _handle_command
2020-11-03T21:47:54.578 INFO:teuthology.orchestra.run.smithi190.stderr:    return self.handle_command(inbuf, cmd)
2020-11-03T21:47:54.578 INFO:teuthology.orchestra.run.smithi190.stderr:  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 141, in handle_command
2020-11-03T21:47:54.578 INFO:teuthology.orchestra.run.smithi190.stderr:    return dispatch[cmd['prefix']].call(self, cmd, inbuf)
2020-11-03T21:47:54.578 INFO:teuthology.orchestra.run.smithi190.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 332, in call
2020-11-03T21:47:54.578 INFO:teuthology.orchestra.run.smithi190.stderr:    return self.func(mgr, **kwargs)
2020-11-03T21:47:54.579 INFO:teuthology.orchestra.run.smithi190.stderr:  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 103, in <lambda>
2020-11-03T21:47:54.579 INFO:teuthology.orchestra.run.smithi190.stderr:    wrapper_copy = lambda *l_args, **l_kwargs: wrapper(*l_args, **l_kwargs)
2020-11-03T21:47:54.579 INFO:teuthology.orchestra.run.smithi190.stderr:  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 92, in wrapper
2020-11-03T21:47:54.579 INFO:teuthology.orchestra.run.smithi190.stderr:    return func(*args, **kwargs)
2020-11-03T21:47:54.579 INFO:teuthology.orchestra.run.smithi190.stderr:  File "/usr/share/ceph/mgr/orchestrator/module.py", line 753, in _daemon_add_osd
2020-11-03T21:47:54.579 INFO:teuthology.orchestra.run.smithi190.stderr:    raise_if_exception(completion)
2020-11-03T21:47:54.580 INFO:teuthology.orchestra.run.smithi190.stderr:  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 643, in raise_if_exception
2020-11-03T21:47:54.580 INFO:teuthology.orchestra.run.smithi190.stderr:    raise e
2020-11-03T21:47:54.580 INFO:teuthology.orchestra.run.smithi190.stderr:json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2020-11-03T21:47:54.580 INFO:teuthology.orchestra.run.smithi190.stderr:
2020-11-03T21:47:54.999 DEBUG:teuthology.orchestra.run:got remote process result: 22
Actions

Also available in: Atom PDF