Comments (17)
I have the same issue, in part.
When I install and enable the plugin on ARM (Raspberry Pi1 & 2):
Error response from daemon: dial unix /run/docker/plugins/28aa48256e33c2fa2e7165012ab2af17841a6d8a983443d5f4da244b250944a6/gfs.sock: connect: no such file or directory
However, when I run the plugin on a X86_64 machine, the plugin works fine.
All hosts run /run in tmpfs and the space on ARM is smaller, but I doubt available space is the issue.
from docker-volume-plugins.
Any working fix on this for raspberry pi 4?
from docker-volume-plugins.
I'm currently trying to build this on a RPI-4 cluster, but still out of luck.
I adjusted the Dockerfile to include the armv6 version of go as well as the missing gcc.
FROM centos:7 RUN yum install -q -y go git glusterfs glusterfs-fuse attr gcc RUN curl -LO https://dl.google.com/go/go1.12.5.linux-armv6l.tar.gz && \ tar -C /usr/local -xvzf go1.12.5.linux-armv6l.tar.gz RUN export PATH=$PATH:/usr/local/go/bin && \ mkdir -p /root/go/src/github.com/docker && \ cd /root/go/src/github.com/docker && \ git clone https://github.com/docker/go-connections.git && \ cd go-connections && \ git checkout 908dcf0115b8215cde21154dd910fb80862dbf86 && \ cd / && \ go get github.com/trajano/docker-volume-plugins/glusterfs-volume-plugin && \ mv $HOME/go/bin/glusterfs-volume-plugin / && \ rm -rf /usr/local/go && \ yum remove -q -y go git gcc && \ yum autoremove -q -y && \ yum clean all && \ rm -rf /var/cache/yum /var/log/anaconda /var/cache/yum /etc/mtab && \ rm -fv /var/log/lastlog /var/log/tallylog
It builds nicely by:
docker build -t glustertest . ... Successfully built 5e432ca46638 Successfully tagged glustertest:latest
But the installation fails:
docker plugin install --alias glusterfs glustertest --grant-all-permissions --disable Error response from daemon: pull access denied for glustertest, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
I now wonder, whether my build command is wrong, or the install?
Thank you in advance.
Best regards,
Empor
from docker-volume-plugins.
I was having the same error reported on an ARM host. To resolve it I needed to rebuild the plugin for the ARM architecture. To do that I had to modify the Dockerfile to reference the arm64 version of the 'go' distribution.
Another thing was that this plugin indirectly depends on https://github.com/docker/go-connections.git which is currently broken. See docker/go-connections#61 . In order to work that around I made another modification to the Dockerfile to checkout the revision of the docker/go-connections before the bad change went it.
Eventually, I was able to rebuild the plugin directly on the ARM host and the issue was resolved.
It may not be the best way of doing things, but here's my Dockerfile I ended up with:
RUN yum install -q -y centos-release-gluster && \
yum install -q -y go git glusterfs glusterfs-fuse attr
RUN curl -LO https://dl.google.com/go/go1.12.5.linux-arm64.tar.gz && \
tar -C /usr/local -xvzf go1.12.5.linux-arm64.tar.gz
RUN export PATH=$PATH:/usr/local/go/bin && \
mkdir -p /root/go/src/github.com/docker && \
cd /root/go/src/github.com/docker && \
git clone https://github.com/docker/go-connections.git && \
cd go-connections && \
git checkout 908dcf0115b8215cde21154dd910fb80862dbf86 && \
cd / && \
go get github.com/trajano/docker-volume-plugins/glusterfs-volume-plugin && \
mv $HOME/go/bin/glusterfs-volume-plugin / && \
rm -rf /usr/local/go && \
yum remove -q -y go git gcc && \
yum autoremove -q -y && \
yum clean all && \
rm -rf /var/cache/yum /var/log/anaconda /var/cache/yum /etc/mtab && \
rm /var/log/lastlog /var/log/tallylog```
from docker-volume-plugins.
Try using a forked version of this project: https://github.com/marcelo-ochoa/docker-volume-plugins
I am using an ArmV7 pre-build image: https://hub.docker.com/repository/docker/mochoa/glusterfs-volume-plugin-armv7l on QNAP NAS without any issues.
Marcelo.
from docker-volume-plugins.
journalctl -u docker | grep <id>
Returned:
time="2022-09-05T10:36:58+02:00" level=error msg="exec /glusterfs-volume-plugin: permission denied" plugin=<id>
/glusterfs-volume-plugin
is stored in /var/lib/docker/plugins/<id>/rootfs
/var was mounted from somewhere else, I had read-write access, but mount was mounted with noexec
option
from docker-volume-plugins.
does it show anything on /var/log/messages
(that's where docker normally dumps its logs)
from docker-volume-plugins.
this is the output from /var/log/docker.log (which is where it goes to in boot2docker.iso).
time="2018-09-27T02:44:19.195632734Z" level=error msg="Handler for POST /v1.38/plugins/centos-nfs/enable returned error: dial unix /run/docker/plugins/8889e175106885871b347f6ac614d2bb04cd1942e74cc1948487789b99783bc1/osmounted.sock: connect: no such file or directory"
from docker-volume-plugins.
@tyhawk I am presuming you're using the gluster plugin. However, I am wondering if there's a bug in Docker that prevents it from using managed plugins in ARM OS
from docker-volume-plugins.
I'm also trying to use the gluster plugin on a cluster of raspberry pies. Same as OP, the following error shows up while trying to enable the plugin:
Error response from daemon: dial unix /run/docker/plugins/{id}/nfs.sock: connect: no such file or directory
Are there any plans on making this cross-platform by any chance?
from docker-volume-plugins.
Tried using the plugin on a arm64 dietpi raspberry pi 3B+, same issue as mentioned above:
Error response from daemon: dial unix /run/docker/plugins/2b05a7a2d0d98718a289f2d2415a4a3a14878764ecbec7f5364ce9c295bcc40a/gfs.sock: connect: no such file or directory
from docker-volume-plugins.
Same issue when I try to enable the plugin.
docker plugin enable glusterfs
Error response from daemon: dial unix /run/docker/plugins/0083b091576907f5f214a29d679d7fa4c619716022800d54bf443ebd67793702/gfs.sock: connect: no such file or directory
from docker-volume-plugins.
Same error here.:
docker plugin enable glusterfs
Error response from daemon: dial unix /run/docker/plugins//gfs.sock: connect: no such file or directory
from docker-volume-plugins.
Like others, I'm on a Raspberry Pi 4 building a GlusterFS/Docker cluster and have run into this issue.
from docker-volume-plugins.
Cool. I'll give it a look!
from docker-volume-plugins.
Im getting the same on RPi 4B
Is there a known fix for this?
from docker-volume-plugins.
This project is forked at marcelo-ochoa/docker-volume-plugins please submit PR or bugs there.
from docker-volume-plugins.
Related Issues (20)
- Error response from daemon: manifest for lukics/glusterfs-volume-plugin:latest not found HOT 1
- --name option to name the volume is missing for cifs-volume-plugin HOT 2
- Passing special mount options through glusteropts option ( enable-ino32 ) HOT 5
- Can't mount volume HOT 10
- Need help in creating volume with docker service command HOT 1
- Failure to create directory with GlusterFS 4.1
- When mounting a CIFS volume, the service does not get replicated HOT 3
- glusterfs volume name HOT 1
- Do I need create the folder "/vol1" on volume manual or not? HOT 1
- Question: Which latest version of glusterfs plugin is work? HOT 2
- VolumeDriver.Mount: error mounting data: exit status 1 HOT 17
- docker stop command create <defunct> process HOT 14
- Subdir is not created and therefore doesn't seem to work, need to create subdir first HOT 2
- Transport endpoint is not connected HOT 1
- failed to set file label ... operation not supported HOT 2
- name Additional property name is not allowed HOT 1
- name Additional property name is not allowed HOT 2
- VolumeDriver.Mount: error mounting <volume>: exit status 1 HOT 5
- Cannot mount CIFS shares: permission denied HOT 1
- Gluster mount drive vs this plugin ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-volume-plugins.