Actions
Bug #47841
closed`ceph orch device ls` assumes lsm data is present
% Done:
0%
Source:
Development
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Found via the rook toolbox in a k8s environment:
$ ceph orch device ls Error EINVAL: Traceback (most recent call last): File "/usr/share/ceph/mgr/mgr_module.py", line 1188, in _handle_command return self.handle_command(inbuf, cmd) File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 141, in handle_command return dispatch[cmd['prefix']].call(self, cmd, inbuf) File "/usr/share/ceph/mgr/mgr_module.py", line 329, in call return self.func(mgr, **kwargs) File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 103, in <lambda> wrapper_copy = lambda *l_args, **l_kwargs: wrapper(*l_args, **l_kwargs) File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 92, in wrapper return func(*args, **kwargs) File "/usr/share/ceph/mgr/orchestrator/module.py", line 421, in _list_devices if d.lsm_data.get('ledSupport', None): AttributeError: 'NoneType' object has no attribute 'get'
Updated by Nathan Cutler over 3 years ago
- Status changed from New to Fix Under Review
- Backport set to octopus
- Pull request ID set to 37644
Updated by Sebastian Wagner over 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Sebastian Wagner over 3 years ago
- Has duplicate Bug #47340: _list_devices: 'NoneType' object has no attribute 'get' added
Updated by Sebastian Wagner over 3 years ago
- Status changed from Pending Backport to Resolved
Actions