k8s-cinder integration does not clean up volumes in openstack when Persistent Volumes get deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Openstack Integrator Charm |
New
|
Undecided
|
Unassigned |
Bug Description
The integration between Kubernetes (k8s) and Cinder does not consistently remove volumes in OpenStack when Persistent Volumes (PVs) are deleted.
This issue has been observed multiple times, where volumes created in OpenStack through PersistentVolum
The problem seems to be intermittent, occurring unpredictably. Sometimes the volumes are cleaned up properly, while other times they persist in OpenStack despite the deletion of their corresponding PVs.
Reproduction Steps:
1. Create a PVC using the storage class with the provisioner: cinder.
2. Delete the PV attached to the PVC.
Note: Due to the intermittent nature of the issue, reproducing it consistently may be challenging on an ideal scenario. But the above steps are kind of similar to what we are facing.