Skip to content

/usr/bin/docker-current: Error response from daemon: VolumeDriver.Mount: Unable to get Exclusive Lock. #49

@fffffreedom

Description

@fffffreedom

hi
when i run:
docker run --rm --volume-driver=rbd --volume foo:/mnt -it busybox /bin/sh
sometimes error happens:
/usr/bin/docker-current: Error response from daemon: VolumeDriver.Mount: Unable to get Exclusive Lock.

log

2018/01/17 10:54:22 api.go:174: Entering go-plugins-helpers hostVirtualPath
2018/01/17 10:54:22 driver.go:507: INFO: API Path request(foo) => /var/lib/docker-volumes/rbd/rbd/foo
2018/01/17 10:54:22 api.go:160: Entering go-plugins-helpers mountPath
2018/01/17 10:54:22 driver.go:309: INFO: API Mount(&{foo@1024 940ca729c9d6b64e659aa864cd4d2d5fa10187c7652d1520adee041cb39fe530})
2018/01/17 10:54:22 driver.go:325: ERROR: locking RBD Image(foo): exit status 2
2018/01/17 10:54:22 api.go:202: Entering go-plugins-helpers unmountPath
2018/01/17 10:54:22 driver.go:525: INFO: API Unmount(&{foo@1024 940ca729c9d6b64e659aa864cd4d2d5fa10187c7652d1520adee041cb39fe530})
2018/01/17 10:54:22 driver.go:545: WARN: Volume is not in known mounts: ignoring request to unmount: rbd/foo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions