[SOLVED] Ceph - No such OSD

ca_maer

Well-Known Member
Dec 5, 2017
181
14
58
44
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!