-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
csi-driver-iscsi/pkg/iscsi/iscsi_util.go
Line 83 in 12d5f01
_, cnt, err := mount.GetDeviceNameFromMount(c.mounter, targetPath) |
If there is only one worker node, when the pod rebuilding, the NodePublishVolume will be called first, and then the NodeUnpublishVolume will be called after the NodePublishVolume. Because of every times the pod rebuilding the targetPath is different, We cant't judge whether the volume is used, when the NodeUnpublishVolume is called, the cnt is always 1, it will logout, the connection between volume and pod will lost.
Metadata
Metadata
Assignees
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.