Project

General

Profile

Bug #47340

_list_devices: 'NoneType' object has no attribute 'get'

Added by Sebastian Wagner about 1 month ago. Updated about 1 month ago.

Status:
New
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:

Description

https://pulpito.ceph.com/swagner-2020-09-07_12:17:11-rados:cephadm-wip-swagner2-testing-2020-09-07-1101-distro-basic-smithi/5415754/

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'

History

#1 Updated by Paul Cuzner about 1 month 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 about 1 month ago

My docker cluster dev environment shows this error now too.

Also available in: Atom PDF