Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reef: mgr/cephadm: add ability to zap OSDs' devices while draining host #53869

Merged
merged 1 commit into from Oct 6, 2023

Conversation

adk3798
Copy link
Contributor

@adk3798 adk3798 commented Oct 6, 2023

backport tracker: https://tracker.ceph.com/issues/62973


backport of #51926
parent tracker: https://tracker.ceph.com/issues/61593

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

Currently, when cephadm drains a host, it will remove all OSDs on
the host, but provides no option to zap the OSD's devices afterwards.
Given users are draining the host likely to remove it from the cluster,
it makes sense some users would want to clean up the devices on the
host that were being used for OSDs. Cephadm already supports zapping
devices outside of host draining, so it makes shouldn't take much to
add that functionality to the host drain as well.

Fixes: https://tracker.ceph.com/issues/61593

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 85043ff)
@anthonyeleven anthonyeleven merged commit 75bfa62 into ceph:reef Oct 6, 2023
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants