Actions
Bug #49126
closedrook: 'ceph orch ls' throws type error
% Done:
0%
Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
# ceph orch ls Error EINVAL: Traceback (most recent call last): File "/usr/share/ceph/mgr/mgr_module.py", line 1316, in _handle_command return self.handle_command(inbuf, cmd) File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 151, in handle_command return dispatch[cmd['prefix']].call(self, cmd, inbuf) File "/usr/share/ceph/mgr/mgr_module.py", line 389, in call return self.func(mgr, **kwargs) File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 108, in <lambda> wrapper_copy = lambda *l_args, **l_kwargs: wrapper(*l_args, **l_kwargs) File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 97, in wrapper return func(*args, **kwargs) File "/usr/share/ceph/mgr/orchestrator/module.py", line 594, in _list_services nice_delta(now, s.last_refresh, ' ago'), File "/usr/share/ceph/mgr/orchestrator/module.py", line 28, in nice_delta return to_pretty_timedelta(now - t) + suffix TypeError: can't subtract offset-naive and offset-aware datetimes
Updated by Varsha Rao about 3 years ago
- Status changed from New to Fix Under Review
- Assignee set to Varsha Rao
- Pull request ID set to 39373
Updated by Varsha Rao about 3 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to pacific
Updated by Sebastian Wagner over 2 years ago
- Status changed from Pending Backport to Resolved
Actions