OSDRemovalQueue crashes on load_from_store
Issue
- cephadm stopped working
- Error messages observed in /var/log/messages - no module 'cephadm'
- Error ENOENT: Module not found
- While removal of OSDs from the cluster, if the active MGR daemon crashes unexpectedly, error messages are observed in the /var/log/messages.
no module 'cephadm'
- Additionally you might also see the foloowing erro messages regarding the parameter 'original_weight'
Jun 16 12:30:36 3452142]: 2025-06-16T16:30:36.551+0000 7f51603b3640 -1 mgr load Traceback (most recent call last):
Jun 16 12:30:36 3452142]: File "/usr/share/ceph/mgr/cephadm/module.py", line 602, in __init__
Jun 16 12:30:36 3452142]: self.to_remove_osds.load_from_store()
Jun 16 12:30:36 3452142]: File "/usr/share/ceph/mgr/cephadm/services/osd.py", line 919, in load_from_store
Jun 16 12:30:36 3452142]: osd_obj = OSD.from_json(osd, rm_util=self.rm_util)
Jun 16 12:30:36 3452142]: File "/usr/share/ceph/mgr/cephadm/services/osd.py", line 784, in from_json
Jun 16 12:30:36 3452142]: return cls(**inp)
Jun 16 12:30:36 3452142]: TypeError: __init__() got an unexpected keyword argument 'original_weight'
Jun 16 12:30:36 3452142]:
Jun 16 12:30:36 ceph-mgr[3452146]: mgr load Traceback (most recent call last):#012 File "/usr/share/ceph/mgr/cephadm/module.py", line 602, in __init__#012 self.to_remove_osds.load_from_store()#012 File "/usr/share/ceph/mgr/cephadm/services/osd.py", line 919, in l
oad_from_store#012 osd_obj = OSD.from_json(osd, rm_util=self.rm_util)#012 File "/usr/share/ceph/mgr/cephadm/services/osd.py", line 784, in from_json#012 return cls(**inp)#012TypeError: __init__() got an unexpected keyword argument 'original_weight'
Environment
- Red Hat Ceph Storage (RHCS) 7.1.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.