[SOLVED] Ghost OSD in the dashboard

Mar 17, 2021
6
1
8
33
Hello,

There is an OSD that shows as outdated in the dashboard. However, this device does not exist in the actual ceph configuration.
Is there a way to get rid of this OSD in the dashboard?

Thanks,
 
There are a few places that can cause this. Either the systemd service "ceph-osd@..." still exists, in that case disable it with systemd disable ceph-osd@... . It is possible that the data directory for this OSD still exists in /var/lib/ceph/osd/. And lastly there might be a section for that OSD left in the /etc/pve/ceph.conf file.
 
Thanks for the reply Aaron.
I did find a service for the outdated ceph. Disabled it and moved the data directory of the osd from /var/lib/ceph/osd/ to a different directory.
I do not find any traces of the osd in /etc/pve/ceph.conf file.

however, the osd still shows up in the dashboard. Any other fixes?
Thanks,
 
Run ceph auth ls. That needs to be cleaned up as well and it will most likely still be present in the crush map as well. You can check that in the Ceph->Configuration panel in the GUI.
 
Good to hear that it worked. I went ahead and marked the thread as solved.
 
  • Like
Reactions: infonancial