Bug #47438
OSD.__init__ failes: the JSON object must be str, bytes or bytearray, not 'dict'
Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
After OSD deletion the orchestrator does not come up anymore. From the log I can just find this: debug 2020-09-14T12:09:37.105+0000 7fc932de3700 -1 mgr load Failed to construct class in 'cephadm' debug 2020-09-14T12:09:37.105+0000 7fc932de3700 -1 mgr load Traceback (most recent call last): File "/usr/share/ceph/mgr/cephadm/module.py", line 325, in __init__ self.rm_util.load_from_store() File "/usr/share/ceph/mgr/cephadm/services/osd.py", line 465, in load_from_store osd_obj = OSD.from_json(json.loads(osd), ctx=self) File "/usr/lib64/python3.6/json/__init__.py", line 348, in loads 'not {!r}'.format(s.__class__.__name__)) TypeError: the JSON object must be str, bytes or bytearray, not 'dict' debug 2020-09-14T12:09:37.105+0000 7fc932de3700 -1 mgr operator() Failed to run module in active mode ('cephadm')
History
#1 Updated by Joshua Schmid over 3 years ago
- Status changed from New to In Progress
- Pull request ID set to 37141
#2 Updated by Joshua Schmid over 3 years ago
- Status changed from In Progress to Fix Under Review
#3 Updated by Kefu Chai over 3 years ago
- Status changed from Fix Under Review to Resolved