Bug #51541
cephadm: gather_facts for the host in maintainence returns empty list
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
-
% 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
https://github.com/ceph/ceph/pull/41816/files#diff-4f2fb7d330e74b64ac41457b7c7a723cd78db86433e0b0c398874531e5a7e39eR1504 returns empty list for the host in maintenance mode. Is this intentional? As all possible ceph daemons are stopped while in maintenance, so does it(maybe host_ok_to_stop) somehow updating host metadata accordingly?
History
#1 Updated by Sebastian Wagner over 1 year ago
Gather facts is never callied due to https://github.com/ceph/ceph/blob/f0b79b3a48e78a4b47c5c23c3991728cee01887a/src/pybind/mgr/cephadm/serve.py#L249
#2 Updated by Redouane Kachach Elhichou 12 months ago
This behavior seems to be correct as the host in maintenance could be powered-off. Closing this issue. If you think this is an issue please re-open.
#3 Updated by Redouane Kachach Elhichou 12 months ago
- Status changed from New to Rejected