Git Product home page Git Product logo

Comments (17)

tyhawk avatar tyhawk commented on June 15, 2024 6

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.

emilrowland avatar emilrowland commented on June 15, 2024 6

Any working fix on this for raspberry pi 4?

from docker-volume-plugins.

Empor-co avatar Empor-co commented on June 15, 2024 2

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.

serhiiz avatar serhiiz commented on June 15, 2024 1

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.

marcelo-ochoa avatar marcelo-ochoa commented on June 15, 2024 1

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.

JHJohny avatar JHJohny commented on June 15, 2024 1

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.

trajano avatar trajano commented on June 15, 2024

does it show anything on /var/log/messages (that's where docker normally dumps its logs)

from docker-volume-plugins.

jonl-percsolutions-com avatar jonl-percsolutions-com commented on June 15, 2024

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.

trajano avatar trajano commented on June 15, 2024

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

d-rez avatar d-rez commented on June 15, 2024

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.

rafaelreis-r avatar rafaelreis-r commented on June 15, 2024

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.

GTrannoy avatar GTrannoy commented on June 15, 2024

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.

openarun avatar openarun commented on June 15, 2024

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.

nerdily avatar nerdily commented on June 15, 2024

Like others, I'm on a Raspberry Pi 4 building a GlusterFS/Docker cluster and have run into this issue.

from docker-volume-plugins.

nerdily avatar nerdily commented on June 15, 2024

Cool. I'll give it a look!

from docker-volume-plugins.

akashkj avatar akashkj commented on June 15, 2024

Im getting the same on RPi 4B
Is there a known fix for this?

from docker-volume-plugins.

marcelo-ochoa avatar marcelo-ochoa commented on June 15, 2024

This project is forked at marcelo-ochoa/docker-volume-plugins please submit PR or bugs there.

from docker-volume-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.