Skip to content

Bug: driver fails to mount remoted moutned volume #17

@ricardorg79

Description

@ricardorg79

Condition to reproduce issue:

  • In swarm mode
  • volume mounted on remote node and not in use by node or container.
  • remote node silently did not unmount the volume.
  • try mounting the volume locally node.
  • plugin fails to mount with "failed to attach volume.. already attached"

Cause:

  • plugin tries to attach the volume while it is already associated to another node

Fix:

  • submit detach request if volume already associated with another node.
  • Kernel unmounts volume when detach request is made.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions