Bug 2153827
| Summary: | `ceph orch host drain` should not always delete contents of /etc/ceph/ | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | John Fulton <johfulto> |
| Component: | Cephadm | Assignee: | Adam King <adking> |
| Status: | ASSIGNED --- | QA Contact: | Manisha Saini <msaini> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.2 | CC: | cephqe-warriors, drosenfe, saraut |
| Target Milestone: | --- | ||
| Target Release: | 7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
John Fulton
2022-12-15 15:10:43 UTC
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity. (In reply to John Fulton from comment #0) > If we don't do the above workaround to back up the ceph conf and keyring and > restore them then we have an error in our procedure because we can't run > anymore cephadm commands on that node. ... > This bug requests that the above workaround not be necessary. Update: we avoid having to back up and restore the files be executing all subsequent cephadm commands on a different node; i.e. drain is the last cephadm command on that node. Regardless, it would be nice to have an option to not delete /etc/ceph (deleting files in /etc after removing a daemon violates principle of least surprise IMHO). |