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
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