.Drain action on the Ceph dashboard ensures safe removal of host
Previously, whenever a user removed a host on the Ceph dashboard without moving out all the daemons, the host transitioned to an unusable state or a ghost state.
With this fix,users can use the drain action on the dashboard to move all the daemons out from the host. Upon successful completion of the drain action, the host can be safely removed.
Created attachment 1723092[details]
Deleted entry seen
Description of problem:Delete Host via dashboard UI is successful but host lists still shows the entry in ceph-dashboard 5.0
Version-Release number of selected component (if applicable):
[root@magna094 ubuntu]# ./cephadm version
Using recent ceph image registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-5.0-rhel-8-containers-candidate-96803-20201013192445
ceph version 16.0.0-6275.el8cp (d1e0606106224ac333f1c245150d7484cb626841) pacific (dev)
How reproducible:
Steps to Reproduce:
1. Install 5.0 cluster
2. login to Dashboard UI and click on hosts section
3. Perform delete Host i.e magna093
4. Observe the behaviour
Actual results:
Magna093 is deleted succesfuly, but host entry still shows in the host list whereas cli reports deleted and removed from the hosts list similarly we see notification in dashboard for removed host.
Attached error snippet:
Expected results: Deleted host entry should be removed and not seen anywhere
Additional info:
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 (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement 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/RHSA-2022:5997
Created attachment 1723092 [details] Deleted entry seen Description of problem:Delete Host via dashboard UI is successful but host lists still shows the entry in ceph-dashboard 5.0 Version-Release number of selected component (if applicable): [root@magna094 ubuntu]# ./cephadm version Using recent ceph image registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-5.0-rhel-8-containers-candidate-96803-20201013192445 ceph version 16.0.0-6275.el8cp (d1e0606106224ac333f1c245150d7484cb626841) pacific (dev) How reproducible: Steps to Reproduce: 1. Install 5.0 cluster 2. login to Dashboard UI and click on hosts section 3. Perform delete Host i.e magna093 4. Observe the behaviour Actual results: Magna093 is deleted succesfuly, but host entry still shows in the host list whereas cli reports deleted and removed from the hosts list similarly we see notification in dashboard for removed host. Attached error snippet: Expected results: Deleted host entry should be removed and not seen anywhere Additional info: