Description of problem: LocalVolumeSet object can be deleted with in-use PVs. May result in data leak if PVs are recreated without being cleaned up in between. Version-Release number of selected component (if applicable): How reproducible: NA Steps to Reproduce: 1. 2. 3. Actual results: Expected results: LocalVolumeSet deletion should not succeed until there are no in-use child PVs Master Log: Node Log (of failed PODs): PV Dump: PVC Dump: StorageClass Dump (if StorageClass used by PV/PVC): Additional info:
depends on the provisioner integration PR, which is almost done: https://github.com/openshift/local-storage-operator/pull/181
2021-07-27T07:39:20.960Z INFO controllers.LocalVolumeSet deletionTimeStamp found, waiting for 0 bound PVs Passed with local-storage-operator.4.9.0-202107231534
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759