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: | CLOSED ERRATA | QA Contact: | Aditya Ramteke <aramteke> |
Severity: | low | Docs Contact: | Rivka Pollack <rpollack> |
Priority: | unspecified | ||
Version: | 5.2 | CC: | adking, akraj, cephqe-warriors, drosenfe, saraut, tserlin |
Target Milestone: | --- | ||
Target Release: | 7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ceph-18.2.0-4.el9cp | Doc Type: | Enhancement |
Doc Text: |
.Users can now drain a host of daemons without draining the client `conf` or `keyring` files
With this enhancement, users can drain a host of daemons, without also draining the client `conf` or `keyring` files deployed on the host by passing the `--keep-conf-keyring` flag to the `ceph orch host drain` command. Users can now mark a host to have all daemons drained or not placed there while still having Cephadm manage `conf` or `keyring` files on the host.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2023-12-13 15:19:47 UTC | 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: | |||
Bug Depends On: | |||
Bug Blocks: | 2237662 |
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). Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Ceph Storage 7.0 Bug Fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:7780 |