Closed scarlet-storm closed 9 months ago
Thanks @scarlet-storm ! Seems like a simple and obvious fix, but I wonder whey we've never hit this before. CC @yogev-lb @dror-lb @rahman-lb
Can one of the admins verify this patch?
@muliby-lb The fix looks legit and indeed some time ago @lev-lb raised this concern but it was not addressed at the time sadly.
The reason we didn't see it till now (or saw it once in a long time) is that this flow would happen only when kubelet will call the plugin's NodePublishVolume
twice (when the volume is already mounted).
This scenario happened due to kubelet restarted which is not a common thing in a running system.
We understand the fix and the mistake of invoking this function with the wrong parameter and we can say that this should a. solve the issue, and b. not raise any other issue.
Thanks @yogev-lb, makes sense. Are you running PR check on this via lb-csi
and will update here when it passes? We want to get this merged and cut out a new CSI plugin release ASAP.
Fixes #33