Actions
Bug #47841
closed`ceph orch device ls` assumes lsm data is present
% Done:
0%
Source:
Development
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v16.0.0-6427-g7d644cca9e
Released In:
v16.2.0~1063
Upkeep Timestamp:
2025-07-14T19:26:58+00:00
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 5 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 5 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Sebastian Wagner over 5 years ago
- Has duplicate Bug #47340: _list_devices: 'NoneType' object has no attribute 'get' added
Updated by Sebastian Wagner over 5 years ago
- Status changed from Pending Backport to Resolved
Updated by Upkeep Bot 8 months ago
- Merge Commit set to 7d644cca9e6a6248f300e1225727bee28dfeab65
- Fixed In set to v16.0.0-6427-g7d644cca9e
- Released In set to v16.2.0~1063
- Upkeep Timestamp set to 2025-07-14T19:26:58+00:00
Actions