Actions
Bug #45633
closedmgr/status: metadata is fetched async
% Done:
0%
Source:
Development
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
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'
Updated by Michael Fritch almost 4 years ago
- Status changed from New to Fix Under Review
Updated by Sebastian Wagner almost 4 years ago
- Project changed from Orchestrator to mgr
Updated by Patrick Donnelly over 3 years ago
- Target version set to v16.0.0
- Source set to Development
Updated by Patrick Donnelly over 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 3 years ago
- Copied to Backport #46958: octopus: mgr/status: metadata is fetched async added
Updated by Nathan Cutler over 3 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".
Updated by Patrick Donnelly over 3 years ago
- Status changed from Resolved to Pending Backport
- Backport changed from octopus to octopus,nautilus
Problem also exists in Nautilus.
Updated by Nathan Cutler over 3 years ago
- Copied to Backport #47737: nautilus: mgr/status: metadata is fetched async added
Updated by Nathan Cutler over 3 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".
Actions