Closed lukicsl closed 5 years ago
what's the output?
Error: No such plugin: trajano/glusterfs-volume-plugin Error: No such image: rootfsimage Sending build context to Docker daemon 13.82kB Step 1/3 : FROM centos:7 ---> 696a2a326214 Step 2/3 : RUN yum install -q -y centos-release-gluster312 && yum install -q -y go git glusterfs glusterfs-fuse attr ---> Running in 49b2c841cdf6
Error: Nothing to do The command '/bin/sh -c yum install -q -y centos-release-gluster312 && yum install -q -y go git glusterfs glusterfs-fuse attr' returned a non-zero code: 1
Hmm, it may be that centos has changed their packages, (happens quite often)
Yah just confirmed, there's no more centos-release-gluster312
anymore. This would mean that we are forced to use Gluster 4.x at least.
centos-release-gluster-legacy.noarch : Disable unmaintained Gluster repositories from the CentOS Storage SIG centos-release-gluster40.x86_64 : Gluster 4.0 (Short Term Stable) packages from the CentOS Storage SIG repository centos-release-gluster41.noarch : Gluster 4.1 (Long Term Stable) packages from the CentOS Storage SIG repository centos-release-gluster5.noarch : Gluster 5 packages from the CentOS Storage SIG repository centos-release-nfv-common.noarch : Common release file to establish shared metadata for CentOS NFV SIG
but it seems that there are just x86 pakages, true. I would need arm packages.
True, I am not sure how to build "ARM" images.
Thanks, have to look for an alternative volume plugin
I build a arm version. Getting when installing: Error response from daemon: manifest for lukics/glusterfs-mvd:latest not found
Dockerfile:FROM debian RUN apt-get update && apt-get install -qq -y golang git glusterfs-server ENV GOPATH $HOME/go RUN go get github.com/trajano/docker-volume-plugins/glusterfs-volume-plugin && \ mv $GOPATH/bin/glusterfs-volume-plugin / && \ rm -rf $GOPATH && \ apt-get autoremove -y && \ rm -rf /var/lib/apt/lists/*
The basic objective of the plugin is to have a docker image with GlusterFS and Gluster FS-FUSE plugin installed so that mount command will run.
Secondly it just needs the go lang environment to build the executable. #15 will address the need for that golang environment because we can build it separately and just copy the final executable.
I published an ARM compatible image of the glusterfs volume plugins, source is @ https://github.com/jmb12686/docker-multiarch-glusterfs-plugin
Docker plugin image: https://hub.docker.com/r/jmb12686/glusterfs-volume-plugin
I currently use this on my cluster of Raspberry Pis
@jmb12686
You beautiful bastard. Thank you.
I would need some hint how to create a raspberry pi version of the plugin. running build.sh does not succeed. thanks