Giter VIP home page Giter VIP logo

Comments (9)

sapk avatar sapk commented on August 18, 2024

I should test more the case when the plugin volume count is disconnected form docker count.
It should be possible to use force remove of volume in the meantime.

from docker-volume-gluster.

Vad1mo avatar Vad1mo commented on August 18, 2024

A forced remove didn't work, what I had to do was reinstall the plugin, then the volumes where gone

from docker-volume-gluster.

badele avatar badele commented on August 18, 2024

Hi,

I have a same issue.

I tried create volume with this command (use multiple servers option)

NODE1=$(docker inspect gluster_node-1_1 | grep '"IPAddress"' | egrep -o "[0-9+\.]+")
NODE2=$(docker inspect gluster_node-2_1 | grep '"IPAddress"' | egrep -o "[0-9+\.]+")
NODE3=$(docker inspect gluster_node-3_1 | grep '"IPAddress"' | egrep -o "[0-9+\.]+")
docker volume create --driver sapk/plugin-gluster --opt voluri="$NODE1,$NODE2,$NODE3:dockerstore" --name dockerstore

And use it

docker-recipes]$ docker run -v dockerstore:/mnt --rm -ti ubuntu
> docker: Error response from daemon: VolumeDriver.Mount: EOF

I try remove the volume with (steps) :

# Show volume
docker volume ls | grep dockerstore
> sapk/plugin-gluster:latest   dockerstore

# Try remove volume
docker volume rm dockerstore
Error response from daemon: unable to remove volume: remove dockerstore: VolumeDriver.Remove: remove /var/lib/docker-volumes/gluster/dockerstore: no such file or directory

# Try force remove volume
docker volume rm -f dockerstore
dockerstore

# Show volume
docker volume ls | grep dockerstore
> sapk/plugin-gluster:latest   dockerstore

# Try disable plugin
docker plugin disable sapk/plugin-gluster:latest

# Try Show volume (not present)
docker volume ls | grep dockerstore

# Enable plugin
docker plugin enable sapk/plugin-gluster:latest

# Show volume
docker volume ls | grep dockerstore
> sapk/plugin-gluster:latest   dockerstore

Note: I have also tried restart docker daemon

from docker-volume-gluster.

sapk avatar sapk commented on August 18, 2024

@badele Thx for the debug I think I may know what happen or at least find a way to not block the removal.

from docker-volume-gluster.

sapk avatar sapk commented on August 18, 2024

@badele can you echo "$NODE1,$NODE2,$NODE3:dockerstore" to check the format ?

from docker-volume-gluster.

badele avatar badele commented on August 18, 2024

@sapk docker volume create --driver sapk/plugin-gluster --opt voluri=172.19.0.4,172.19.0.3,172.19.0.2:dockerstore --name dockerstore

from docker-volume-gluster.

sapk avatar sapk commented on August 18, 2024

What I can't understand is how the folder could not exist ... since it should failed at volume creation if it can't create the folder.

from docker-volume-gluster.

badele avatar badele commented on August 18, 2024

Ii'm not sure, but I believe, i have that received a error during volume creation, but despite all the volume has been created.

from docker-volume-gluster.

sapk avatar sapk commented on August 18, 2024

The EOF error reported make me think that it would be the SaveConfig (for persistencce) that failed the volume there after disable so persistence works ...
I think, I could add a --no-persitence tag (with env also)

from docker-volume-gluster.

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.