Skip to content

cnt cannot be used as a standard to perform logout #19

@zhucan

Description

@zhucan

_, 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.

@saad-ali

Metadata

Metadata

Labels

lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions