-
-
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 1 #12
Comments
Does the host have fuse intalled ? |
I have an rclone container that is able to use /dev/fuse to mount a cloud storage drive. |
Can you debug the plugin to read the gluster client logs https://docs.docker.com/engine/extend/#debugging-plugins ? |
Hi, I have a same issue, I try test you plugin with this docker recipe Note: the glusterfs cluster it seem work with this recipe I use a archlinux host, and it seem not log for the docker plugin or i dont't know activate the docker plugin debug/verbose mode (I have actived with Thank for you help |
@badele That normal, the plugin does have to resolve nodename of volume (node-1, node-2, node-...) but those names are only resolved by docker inside the same network. I can recommend you to replace nodename by there respectives IP at volume creation. This is how gluster works when you mount it, the client will retrieve the configuration (node-1:/data/glusterfs/store/dockerstore node-2:/data/glusterfs/store/dockerstore ...) but gluster can't outside the docker network (on host or in plugin container) resolve those names. A other solution is to add node-X container ip to host file /etc/hosts to resolve those names. If you want, I setup the same type of configuration for integration testing. Just clone the repo and do |
What an idiot ! i have forgot of replace the hostname by ip for volume creation :) I think you're right, i will test this this evening Thank for you help and good job for you project |
I did the same ^^ :
|
It's work fine for me, @sapk Thanks for your help :) |
So I have to recreate the gluster volume with IPs instead of dns names?
They are public subdomains. Maybe it only works on the other two hosts
because they have static entries in the host file on the docker hosts? I
don't think host file changes persist on Rancher OS.
…On Dec 14, 2017 4:34 PM, "Bruno Adele" ***@***.***> wrote:
It's work fine for me, @sapk <https://github.com/sapk> Thanks for your
help :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC8Kk3Q6XC_JcNzuz0PZCl61CgGVjhsMks5tAZSBgaJpZM4Q6jup>
.
|
If the host can resolve the domains of gluster server it is good. |
I complete my previous message with the sample code (only work if we use host containers IPs) Edit: I use @sapk tips for getting IPs |
@badele I can recommend you to use |
I currently have 2 gluster servers also running docker with app1 in a container using this plugin.
I recently set up a 3rd docker host in the same datacenter as the other two. They are essentially on a public LAN with 1ms ping between them. The only difference is the two gluster servers/docker hosts are running Debian linux and the 3rd host is running RancherOS. I temporarily disabled the firewall on both gluster servers for testing and re-enabled when finished.
Volume info from one Gluster server.
on the RancherOS host:
The text was updated successfully, but these errors were encountered: