-
Bug
-
Resolution: Done
-
Minor
-
None
-
4.12
-
Quality / Stability / Reliability
-
None
-
None
-
None
-
Low
-
None
-
Unspecified
-
None
-
None
-
None
-
-
-
None
-
If docs needed, set a value
-
None
-
None
-
None
-
None
-
None
was https://issues.redhat.com/browse/OSASINFRA-2789
—
Citing https://github.com/kubernetes/cloud-provider-openstack/pull/1762:
> It seems like it's trying to delete a PVC that's still in use by a Pod, and then fails due to timeout when attempting to delete that PVC.
That is a perfectly legal operation. Both Pods and PVCs are end user objects and we should not trust them too much. The CSI driver should be robust to survive this. Otherwise a bad user can break the whole OCP cluster easily by doing that in a loop and ending up with millions of pods that can't be deleted.
> it also deleted storage class of a PVC before deleting that PVC, which then causes deletion of that PVC to fail (can't access the provisioner secrets anymore).
This is suspicious. It should not happen during a correct test run, let us know if it does, however, we know it happens when cleaning up after a failed test. Don't fail the tests in the first place .
We run the same tests for AWS EBS and GCE PD. They don't use any secrets in StorageClass / VolumeSnapshotClass though.
https://testgrid.k8s.io/redhat-openshift-ocp-release-4.10-informing#periodic-ci-openshift-release-master-nightly-4.10-e2e-aws-csi
https://testgrid.k8s.io/redhat-openshift-ocp-release-4.10-informing#periodic-ci-openshift-release-master-nightly-4.10-e2e-gcp-csi