OSD not starting after Proxmox upgrade to 7.2

mfed

Well-Known Member
Feb 28, 2020
71
25
58
55
I just upgraded my node to 7.2, and after the host restart one of my OSD would not start. That was the last remaining old-style (non-LVM) simple volume OSD. The following error reported

2022-05-12T15:31:02.538-0400 7fcc3f134f00 1 bdev(0x560e6221c400 /var/lib/ceph/osd/ceph-7/block) open path /var/lib/ceph/osd/ceph-7/block 2022-05-12T15:31:02.538-0400 7fcc3f134f00 -1 bdev(0x560e6221c400 /var/lib/ceph/osd/ceph-7/block) open open got: (13) Permission denied

The symptom is the same as described here: https://forum.proxmox.com/threads/ceph-osd-not-start-on-reboot.93061/
Workaround (set permissions on the partition 2 and restart) worked for me. I understand that if I delete and re-create the OSD it should fix the issue, but wondering if there is any other solution? This is a consumer-grade SSD, so I would rather not do unnecessary rebuilds...

Regards
Mikhail