Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fffffreedom opened this issue Jan 17, 2018 · 2 comments

Comments

@fffffreedom
Copy link

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
@teralype
Copy link

Any progress on this?

@ricokareem
Copy link
Member

ricokareem commented Jan 25, 2019

this software is out-of-date and might no longer be maintained.
you can try the primary maintainer's fork and see if that resolves the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants