Bug 1889976 - [5.0] Ceph-Dashboard: Delete Host via dashboard UI is successful but host lists still shows the entry
Summary: [5.0] Ceph-Dashboard: Delete Host via dashboard UI is successful but host lis...
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Ceph-Dashboard
Version: 5.0
Hardware: x86_64
OS: Linux
Target Milestone: rc
: 5.2
Assignee: Nizamudeen
QA Contact: Sunil Angadi
Ranjini M N
Whiteboard: cephadm
Depends On:
Blocks: 1959686
TreeView+ depends on / blocked
Reported: 2020-10-21 06:52 UTC by Preethi
Modified: 2021-11-11 11:16 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
.Remove the services from the host before removing the hosts from the storage cluster on the {storage-product} Dashboard Removing the hosts on the {storage-product} Dashboard before removing the services causes the hosts to be in a stale, dead, or a ghost state. To workaround this issue, manually remove all the services running on the host and then remove the host from the storage cluster using the {storage-product} Dashboard. If you remove the host without removing the services, then to add the host again, you will have to use the command-line interface. If you remove the hosts without removing the services , you need to use the command-line interface to add the hosts again.
Clone Of:
Last Closed: 2020-10-27 16:10:09 UTC
Target Upstream Version:

Attachments (Terms of Use)
Deleted entry seen (246.40 KB, image/png)
2020-10-21 06:52 UTC, Preethi
no flags Details

System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCSDASH-240 0 None None None 2021-11-04 09:49:07 UTC

Description Preethi 2020-10-21 06:52:31 UTC
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:

Comment 3 Juan Miguel Olmo 2020-10-27 16:10:09 UTC

*** This bug has been marked as a duplicate of bug 1889985 ***

Comment 12 Nizamudeen 2021-07-16 06:42:29 UTC
@epuertat@redhat.com Created the bz https://bugzilla.redhat.com/show_bug.cgi?id=1982965

Note You need to log in before you can comment on or make changes to this bug.