This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
forked from kubernetes-sigs/vsphere-csi-driver
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A CSI volume is de facto unmounted if the node that the volume is hos…
…ted on goes down. In `controller.ControllerUnpublishVolume()`, when a volume has been unmounted and we cannot find the node that the volume should be mounted on, the volume is in fact unmounted and should reported as such without error. This works around a bug in kubernetes/kubernetes#51835 which [appears to remain unresolved and administratively closed](kubernetes/kubernetes#51835 (comment)). Resolves kubernetes-sigs#15 Signed-off-by: Brian Topping <brian.topping@sap.com>
- Loading branch information
1 parent
1151123
commit 7627b48
Showing
3 changed files
with
63 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters