Actions
Bug #47171
closedmgr/cephadm: removing last service of a type raises IndexError
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2020-08-27T17:26:19.721+0200 7f6a1173c700 -1 Traceback (most recent call last): File "/home/user/src/ceph/src/pybind/mgr/cephadm/module.py", line 510, in serve self._check_daemons() File "/home/user/src/ceph/src/pybind/mgr/cephadm/module.py", line 2143, in _check_daemons if self.cephadm_services[dd.daemon_type].get_active_daemon( File "/home/user/src/ceph/src/pybind/mgr/cephadm/services/monitoring.py", line 242, in get_active_daemon return daemon_descrs[0] IndexError: list index out of range
Possibly introduced by this PR: https://github.com/ceph/ceph/pull/36485/files
Steps to reproduce:
1. vstart cephadm cluster
2. deploy prometheus
3. remove prometheus
Possible side effects:
No `ceph orch apply ...` works after removing the prometheus service.
Updated by Adam King over 3 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 36858
Updated by Adam King over 3 years ago
- Status changed from Fix Under Review to Resolved
Actions