Skip to content
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

I am unable to remove the volume even with -f #39

Closed
trajano opened this issue Mar 26, 2018 · 6 comments
Closed

I am unable to remove the volume even with -f #39

trajano opened this issue Mar 26, 2018 · 6 comments

Comments

@trajano
Copy link

trajano commented Mar 26, 2018

  • Plugin version (or commit ref) :latest
  • Docker version :18.03
  • Plugin type : managed
  • Operating system:

Description

I am unable to remove a volume even with the -f

Logs

Here is what happens

trajano@noriko MINGW64 /d/p/trajano.net/jenkins (master)
$ docker volume rm -f test
test

trajano@noriko MINGW64 /d/p/trajano.net/jenkins (master)
$ docker volume ls
DRIVER                       VOLUME NAME
local                        722a2fa4d4e0d5bff53257b822e0eb175d092b1270c90b8b6c00215a5a1dcce1
local                        957185ba07393749e458f79bc6cada77f6447b1cabed1993ce95a8e877e984b5
local                        ddf5beffd17c3ed35dc4d2bfae51d0ef2c89ddfdd009890b73e8ada21827042b
sapk/plugin-gluster:latest   jenkins_jenkins_home
sapk/plugin-gluster:latest   jenkins_nexus-data
sapk/plugin-gluster:latest   test

Tests

@sapk
Copy link
Owner

sapk commented Mar 26, 2018

@trajano What error do you get when doing docker volume rm test ?

@trajano
Copy link
Author

trajano commented Mar 26, 2018

No error, it just says "test" or whatever I put in. The closest thing I can do to remove it is to actualy disable the plugin.

@sapk
Copy link
Owner

sapk commented Mar 26, 2018

Ok so it must unmount it but not remove it from the information that the plugin keep of volumes. It must come from recent refactor to have a common base for the multiple volume driver. I will have a look at it.

@sapk sapk closed this as completed in 8e41e9e Mar 26, 2018
@sapk
Copy link
Owner

sapk commented Mar 26, 2018

Should be fixed by 8e41e9e. I found a reference error in the new base that unmount volume but dont really remove from structure data. sapk/docker-volume-helpers@7a90a1c

@sapk
Copy link
Owner

sapk commented Mar 26, 2018

A new version should come soon and be ready.
You can get it by doing docker plugin install sapk/plugin-gluster in few minutes.

@trajano
Copy link
Author

trajano commented Mar 26, 2018

works thanks now just need that #35 :)

sapk added a commit that referenced this issue Nov 26, 2018
sapk added a commit that referenced this issue Dec 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants