So, this one pledged me for some time. Then while writing my last article I had enough and ran across this post. rbd error: rbd: listing images failed: (2) No such file or directory (500)> I found that when I did a search for “rbd error: rbd: listing images failed” no buried at the end of the article was the fix here it is and it worked great for me.
ssh into a proxmox server. Any one of them in the cluster with the error will work just fine
I ran as root so FYI
simply run this command
rbd ls -l c-vm
Now it will indicate what image is damaged and unailable. Not sure what happened when but in my case it indicated the following:
rbd: error opening vm-120-disk-0: (2) No such file or directory
This gave the key as to why the ProxMox GUI could not show the images in c-vm which in my case was the Ceph RDB cluster attached to proxmox. So the fix was simple! Remove the offending vm-120-disk-0 and all is better!!!
root@pve2:~# rbd rm vm-120-disk-0 -p c-vm
Removing image: 100% complete...done.
root@pve2:~# rbd ls -l c-vm
After that rdb did not report any more issue. And I could get into ProxMox GUI and view c-vm just fine!