-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
VolumeDriver.Mount: exit status 107 #43
Comments
Some errors got into a big refactor I have done. I republish the old version while I do more testing. You can get it by re-doing a Sorry for the inconvenient. |
thanks 👍 💯 |
Hello, I've just downloaded the latest version of your plugin and followed the "New & Easy Method" to test it. When I run this command:
I get this error message:
I'm using Docker for Windows 10. ¿Any advice? Thanks for your help |
both image are not working: sapk/plugin-gluster:v1.0.7-3 tested on play-with-docker
|
Make sure glusterfs volume is operational |
sapk/plugin-gluster:v1.0.7-3 worked for me but not latest. I'm building my own from source code (Master or Old branches) and I'm getting "exit status 107" as well. I'm building the plugin with: $ make docker-plugin
$ make docker-plugin-enable is there something I'm missing? |
@jantoniomartinez It must be the old branch. To build exactly the same, you can checkout the commit or tag https://github.com/sapk/docker-volume-gluster/releases/tag/v1.0.7-2 |
@sapk Hi, I was able to run the solution from source code and talk to gluster server. I had to run the binary as sudo: $ make build
$ sudo ./docker-plugin-gluster daemon -v But, when I build the docker image from source code and run it as docker plugin, I still get the following error: level=error msg="Handler for POST /v1.38/containers/create returned error: VolumeDriver.Mount: exit status 107" This is on any branch. It's definitely something happening inside the container. I noticed that when I install the plugin from Docker HUB, it asks for the following: Plugin "sapk/plugin-gluster:v1.0.7-3" is requesting the following privileges:
- network: [host]
- device: [/dev/fuse]
- capabilities: [CAP_SYS_ADMIN] Not sure if I'm giving the rights privileges to my built docker image. Thanks, |
I start to think that it is maybe related to fuse. Maybe the path to fuse that is not the same or the fuse lib inside the container that is incompatible with the host one. For information, the permission are define for the plugin inside the config.json file. |
@sapk Can you please tell me how you are building the docker plugin from source code? |
The plugin and binary is build on travis. You can find the .travis.yml file at the root of the repo (especially the release part). But maybe a package was updated since and that what failed now. I haven't retested to know exactly what happened. |
After reviewing changes in 7 months a lot seems to have change in gluster (version 4 and 5). I will have a look at it and make master work. |
@sapk I made it work temporarily but using ubuntu:latest docker base image, instead of the debian:testing-slim you had. |
@jantoniomartinez the ubuntu image has shrunk down even further than debian. I will switch to it if it works better. |
Hi, I have the same issue with ubuntu:latest image. I tried with an alpine:latest with no success.
|
@andreaschiona-tria What is your host machine? I suspect that the different fuse path across distrib seems to be the residual bug. |
My host machine:
I'll try the binary version. Do you suggest to use docker-volume-rclone instead of this for share volumes between containers in different hosts? Thanks! |
@andreaschiona-tria I use it every day so it will be more maintained than this one but it is not exactly for the same purpose. If you find a good interface/provider for your need in https://rclone.org/ go for it as it will also be lightweight compare to gluster. |
@sapk thanks! |
@sapk I don't understood that rsync for local FS can sync only directory in the same file system.. so i can't use it! |
If you want to share a local folder on multiple docker host. I can recommand you to setup minio to have a s3 like server and use rclone to mount the volume. |
version
myOS
when i run this command :
docker run -d --volume-driver sapk/plugin-gluster:latest --volume huihigh:/mnt centos echo "Hello zhouqy from a container" >> /mnt/hello-from-container.txt
error log
/usr/bin/docker-current: Error response from daemon: error while mounting volume '/var/lib/docker/plugins/4cb99a7e4a34224c8003186ed067dce1c9c02c55a4ab57f35c613a83bc60b580/rootfs': VolumeDriver.Mount: exit status 107.
The text was updated successfully, but these errors were encountered: