dell / csi-baremetal

Bare-metal CSI Driver
Apache License 2.0
71 stars 34 forks source link

[ISSUE-1051] Handle Kubelet's Wrong CSI Call Inconsistent with Real Volume Status for OBS Release 1.3 #1053

Open CraneShiEMC opened 1 year ago

CraneShiEMC commented 1 year ago

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/

CraneShiEMC commented 1 year ago

please fix UT failure in PR validation before merge.

OK