[SOLVED] Ceph - No such OSD

ca_maer

Well-Known Member
Dec 5, 2017
181
14
58
45
Hello,

I'm trying out ceph to see if it would fit our need. In my testing I tried removing all OSDs to change the disk to SSDs. The issue I'm facing is when trying to delete the last OSD I get hit with an error "no such OSD" (see attached screenshot). The command line return no OSD so it's like stuck in the webui.

Screen Shot 2019-12-17 at 4.31.07 PM.png

Is there a way to clear it ?

Cheers
 
Check with ceph osd tree if the OSD is still there. The cleanup might have failed and it is only a leftover. You can try with pveceph osd destroy 0 to remove it again.
 
Thanks Alwin. It's weird because I can see it when using ceph osd tree but trying to delete it result in "no such OSD"
The 'DNE' stand for 'does not exist'. It is a leftover, either on the crushmap or osd map.

I was able to delete it by re-creating the OSD then deleting it again. Thanks Alway
Glad that this solved it.