Bug #47340
_list_devices: 'NoneType' object has no attribute 'get'
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2020-09-07T12:59:11.859 INFO:teuthology.orchestra.run.smithi150.stderr:Error EINVAL: Traceback (most recent call last): 2020-09-07T12:59:11.860 INFO:teuthology.orchestra.run.smithi150.stderr: File "/usr/share/ceph/mgr/mgr_module.py", line 1177, in _handle_command 2020-09-07T12:59:11.860 INFO:teuthology.orchestra.run.smithi150.stderr: return self.handle_command(inbuf, cmd) 2020-09-07T12:59:11.860 INFO:teuthology.orchestra.run.smithi150.stderr: File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 141, in handle_command 2020-09-07T12:59:11.861 INFO:teuthology.orchestra.run.smithi150.stderr: return dispatch[cmd['prefix']].call(self, cmd, inbuf) 2020-09-07T12:59:11.861 INFO:teuthology.orchestra.run.smithi150.stderr: File "/usr/share/ceph/mgr/mgr_module.py", line 318, in call 2020-09-07T12:59:11.861 INFO:teuthology.orchestra.run.smithi150.stderr: return self.func(mgr, **kwargs) 2020-09-07T12:59:11.861 INFO:teuthology.orchestra.run.smithi150.stderr: File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 103, in <lambda> 2020-09-07T12:59:11.861 INFO:teuthology.orchestra.run.smithi150.stderr: wrapper_copy = lambda *l_args, **l_kwargs: wrapper(*l_args, **l_kwargs) 2020-09-07T12:59:11.862 INFO:teuthology.orchestra.run.smithi150.stderr: File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 92, in wrapper 2020-09-07T12:59:11.862 INFO:teuthology.orchestra.run.smithi150.stderr: return func(*args, **kwargs) 2020-09-07T12:59:11.862 INFO:teuthology.orchestra.run.smithi150.stderr: File "/usr/share/ceph/mgr/orchestrator/module.py", line 421, in _list_devices 2020-09-07T12:59:11.862 INFO:teuthology.orchestra.run.smithi150.stderr: if d.lsm_data.get('ledSupport', None): 2020-09-07T12:59:11.862 INFO:teuthology.orchestra.run.smithi150.stderr:AttributeError: 'NoneType' object has no attribute 'get'
Related issues
History
#1 Updated by Paul Cuzner over 3 years ago
Doesn't this require https://tracker.ceph.com/issues/47146 first to backport in ceph-volume, and then orch device ls could potentially be backported?
#2 Updated by Stephan Müller over 3 years ago
My docker cluster dev environment shows this error now too.
#3 Updated by Sebastian Wagner over 3 years ago
- Duplicates Bug #47841: `ceph orch device ls` assumes lsm data is present added
#4 Updated by Sebastian Wagner over 3 years ago
- Status changed from New to Duplicate