Actions
Bug #45633
closed
MF
MF
mgr/status: metadata is fetched async
Bug #45633:
mgr/status: metadata is fetched async
Due date:
% Done:
0%
Source:
Development
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v16.0.0-4312-gaec6316066
Released In:
v16.2.0~1708
Upkeep Timestamp:
2025-07-14T19:43:20+00:00
Description
There is a timing windonw during mds rejoin etc where the metadata is being added/removed and a NoneType can be returned.
Which results in brief tracebacks during `ceph fs status`
$ ceph fs status
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1171, in _handle_command
return self.handle_command(inbuf, cmd)
File "/usr/share/ceph/mgr/status/module.py", line 338, in handle_command
return self.handle_fs_status(cmd)
File "/usr/share/ceph/mgr/status/module.py", line 225, in handle_fs_status
mds_versions[metadata.get('ceph_version', "unknown")].append(standby['name'])
AttributeError: 'NoneType' object has no attribute 'get'
$ ceph fs status
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1171, in _handle_command
return self.handle_command(inbuf, cmd)
File "/usr/share/ceph/mgr/status/module.py", line 340, in handle_command
return self.handle_fs_status(cmd)
File "/usr/share/ceph/mgr/status/module.py", line 116, in handle_fs_status
mds_versions[metadata.get('ceph_version', "unknown")].append(info['name'])
AttributeError: 'NoneType' object has no attribute 'get'
MF Updated by Michael Fritch over 6 years ago
- Pull request ID set to 35161
MF Updated by Michael Fritch over 6 years ago
- Status changed from New to Fix Under Review
SW Updated by Sebastian Wagner over 6 years ago
- Project changed from Orchestrator to mgr
NC Updated by Nathan Cutler over 6 years ago
- Backport set to octopus
PD Updated by Patrick Donnelly over 6 years ago
- Target version set to v16.0.0
- Source set to Development
PD Updated by Patrick Donnelly over 6 years ago
- Status changed from Fix Under Review to Pending Backport
NC Updated by Nathan Cutler over 6 years ago
- Copied to Backport #46958: octopus: mgr/status: metadata is fetched async added
NC Updated by Nathan Cutler over 6 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
PD Updated by Patrick Donnelly about 6 years ago
- Status changed from Resolved to Pending Backport
- Backport changed from octopus to octopus,nautilus
Problem also exists in Nautilus.
NC Updated by Nathan Cutler about 6 years ago
- Copied to Backport #47737: nautilus: mgr/status: metadata is fetched async added
NC Updated by Nathan Cutler about 6 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to aec63160669d3c891a7bfa0c8bfd7dfe690af0a3
- Fixed In set to v16.0.0-4312-gaec6316066
- Released In set to v16.2.0~1708
- Upkeep Timestamp set to 2025-07-14T19:43:20+00:00
Actions