How to delete orphaned RBD images when using ODF 4 as a storage backend for OpenShift 4?
When checking the amount of existing images within Ceph on ODF, it is possible to see a mismatch between the amount of images versus the amount of existing PVs/PVCs on OCP, where the amount of images is superior to the number of created and active PVs/PVCs, evidencing these images are orphaned somehow. So how might one delete these orphaned images not linked to any PV/PVC?
- Red Hat OpenShift Container Platform (OCP)
- Red Hat OpenShift Data Foundation (ODF)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.