Actions
Bug #76416
closed
KC
KC
"ceph osd status" may fail with an AssertionError on assert metadata
Bug #76416:
"ceph osd status" may fail with an AssertionError on assert metadata
Due date:
% Done:
0%
Source:
Backport:
squid tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v21.0.0-1480-g95827df8be
Released In:
v21.2.0~459
Upkeep Timestamp:
2026-11-04T01:10:33+00:00
Description
# ceph osd status
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1910, in _handle_command
return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/usr/share/ceph/mgr/mgr_module.py", line 501, in call
return self.func(mgr, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/share/ceph/mgr/status/module.py", line 337, in handle_osd_status
assert metadata
^^^^^^^^
AssertionError
This can, for example, happen when an OSD is automatically marked out. To reproduce:
# kill -n11 PID-OF-OSD
# systemctl disable --now ceph-osd@OSDID
After 10 minutes, ceph osd status prints the error above.
The error itself doesn't negatively affect cluster health.
UB Updated by Upkeep Bot 7 months ago
- Status changed from Fix Under Review to Pending Backport
- Merge Commit set to 95827df8be956d87b14eaefba44fd81cde66772d
- Fixed In set to v21.0.0-1480-g95827df8be
- Upkeep Timestamp set to 2026-05-16T12:51:00+00:00
UB Updated by Upkeep Bot 7 months ago
- Copied to Backport #76632: squid: "ceph osd status" may fail with an AssertionError on assert metadata added
UB Updated by Upkeep Bot 7 months ago
- Copied to Backport #76634: tentacle: "ceph osd status" may fail with an AssertionError on assert metadata added
UB Updated by Upkeep Bot 7 months ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Backporting
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-05-16T12:51:00+00:00 to 2026-08-27T18:32:26+00:00
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~458
- Upkeep Timestamp changed from 2026-08-27T18:32:26+00:00 to 2026-10-24T01:17:48+00:00
UB Updated by Upkeep Bot 30 days ago
- Released In changed from v21.2.0~458 to v21.2.0~459
- Upkeep Timestamp changed from 2026-10-24T01:17:48+00:00 to 2026-11-04T01:10:33+00:00
Actions