1) Handle Kubelet's Wrong CSI Call Inconsistent with Real Volume Status
2) Proceed Kubelet's CSI call also on Failed Volume
PR checklist
[ ] Add link to the issue
[ ] Choose Project
[ ] Choose PR label
[ ] New unit tests added
[ ] Modified code has meaningful comments
[ ] All TODOs are linked with the issues
[ ] All comments are resolved
Testing
I've similuated the scenario of volume's k8s global device mountpoint missing in my standalone test. This CSI defensive enhancement can work well as expected in the test.
Purpose
Resolves #1051
1) Handle Kubelet's Wrong CSI Call Inconsistent with Real Volume Status 2) Proceed Kubelet's CSI call also on Failed Volume
PR checklist
Testing
I've similuated the scenario of volume's k8s global device mountpoint missing in my standalone test. This CSI defensive enhancement can work well as expected in the test.
custom ci passed: https://asd-ecs-jenkins.isus.emc.com/job/csi-custom-ci/1562/
custom-acceptance passed: Atlantic (rke2): https://asd-ecs-jenkins.isus.emc.com/job/csi-custom-acceptance-tar_b_ona/39/ Openshift: https://asd-ecs-jenkins.isus.emc.com/job/csi-custom-acceptance-oil_bd/255/