Actions
Bug #43642
closed"ceph telemetry show" shows error: AttributeError: 'NoneType' object has no attribute 'items'
% Done:
0%
Source:
Tags:
Backport:
nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Description
(docker-croit)@dev-cluster-vlan102 / $ ceph mgr module enable telemetry (docker-croit)@dev-cluster-vlan102 / $ ceph telemetry show Error EINVAL: Traceback (most recent call last): File "/usr/share/ceph/mgr/mgr_module.py", line 914, in _handle_command return self.handle_command(inbuf, cmd) File "/usr/share/ceph/mgr/telemetry/module.py", line 754, in handle_command channels=command.get('channels', None) File "/usr/share/ceph/mgr/telemetry/module.py", line 595, in compile_report report['metadata']['osd'] = self.gather_osd_metadata(osd_map) File "/usr/share/ceph/mgr/telemetry/module.py", line 234, in gather_osd_metadata for k, v in self.get_metadata('osd', str(osd['osd'])).items(): AttributeError: 'NoneType' object has no attribute 'items'
looks like it fails with this particular osd map which i've attached
Files
Updated by Yaarit Hatuka over 4 years ago
- Status changed from New to In Progress
- Backport set to nautilus
- Pull request ID set to 33051
Hi Paul,
Thanks for reporting this.
This should fix it:
https://github.com/ceph/ceph/pull/33051
Can you please check the logs to see if you have this error message:
"Requested missing service "
Thanks!
Yaarit
Updated by Sage Weil over 4 years ago
- Status changed from In Progress to Pending Backport
Updated by Sage Weil over 4 years ago
- Backport changed from nautilus to nautilus, mimic
Updated by Konstantin Shalygin over 4 years ago
- Copied to Backport #43978: mimic: "ceph telemetry show" shows error: AttributeError: 'NoneType' object has no attribute 'items' added
Updated by Konstantin Shalygin over 4 years ago
- Copied to Backport #43979: nautilus: "ceph telemetry show" shows error: AttributeError: 'NoneType' object has no attribute 'items' added
Updated by Nathan Cutler about 4 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