You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker version : Docker version 17.06.2-ee-8, build 4e8ed51
Plugin type : legacy/managed
Operating system: Linux testhost 3.10.0-862.el7.x86_64 Add support for encryption key #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
Created a docker volume using docker gluster plugin. After volume creation, the volume could not be deleted. Disabling, removing and reinstalling the plugin ultimately removed the volume. Commands I ran to demonstrate the problem follow:
$ docker volume ls
DRIVER VOLUME NAME
$ docker volume create --driver sapk/plugin-gluster --opt voluri=10.10.10.3:testvol,10.10.10.4:testvol,10.10.10.5:testvol --name testvol
testvol
$ docker volume ls
DRIVER VOLUME NAME
sapk/plugin-gluster:latest testvol
$ docker volume rm testvol
testvol
$ docker volume ls
DRIVER VOLUME NAME
sapk/plugin-gluster:latest testvol
$ docker volume prune --force
Total reclaimed space: 0B
$ docker volume ls
DRIVER VOLUME NAME
sapk/plugin-gluster:latest testvol
$ docker plugin disable sapk/plugin-gluster
sapk/plugin-gluster
$ docker volume ls
DRIVER VOLUME NAME
$ docker plugin enable sapk/plugin-gluster
sapk/plugin-gluster
$ docker volume ls
DRIVER VOLUME NAME
sapk/plugin-gluster:latest testvol
$ docker plugin disable sapk/plugin-gluster
sapk/plugin-gluster
$ docker plugin rm sapk/plugin-gluster
sapk/plugin-gluster
$ docker volume ls
DRIVER VOLUME NAME
$ docker plugin install sapk/plugin-gluster
Plugin "sapk/plugin-gluster" is requesting the following privileges:
network: [host]
device: [/dev/fuse]
capabilities: [CAP_SYS_ADMIN]
Do you grant the above permissions? [y/N] y
latest: Pulling from sapk/plugin-gluster
Created a docker volume using docker gluster plugin. After volume creation, the volume could not be deleted. Disabling, removing and reinstalling the plugin ultimately removed the volume. Commands I ran to demonstrate the problem follow:
$ docker volume ls
DRIVER VOLUME NAME
$ docker volume create --driver sapk/plugin-gluster --opt voluri=10.10.10.3:testvol,10.10.10.4:testvol,10.10.10.5:testvol --name testvol
testvol
$ docker volume ls
DRIVER VOLUME NAME
sapk/plugin-gluster:latest testvol
$ docker volume rm testvol
testvol
$ docker volume ls
DRIVER VOLUME NAME
sapk/plugin-gluster:latest testvol
$ docker volume prune --force
Total reclaimed space: 0B
$ docker volume ls
DRIVER VOLUME NAME
sapk/plugin-gluster:latest testvol
$ docker plugin disable sapk/plugin-gluster
sapk/plugin-gluster
$ docker volume ls
DRIVER VOLUME NAME
$ docker plugin enable sapk/plugin-gluster
sapk/plugin-gluster
$ docker volume ls
DRIVER VOLUME NAME
sapk/plugin-gluster:latest testvol
$ docker plugin disable sapk/plugin-gluster
sapk/plugin-gluster
$ docker plugin rm sapk/plugin-gluster
sapk/plugin-gluster
$ docker volume ls
DRIVER VOLUME NAME
$ docker plugin install sapk/plugin-gluster
Plugin "sapk/plugin-gluster" is requesting the following privileges:
Do you grant the above permissions? [y/N] y
latest: Pulling from sapk/plugin-gluster
Digest: sha256:d19c1a17316a00f14bc81b6396afe10d0d43aa5f21a38d08819bb17b9d93e96c
Status: Downloaded newer image for sapk/plugin-gluster:latest
Installed plugin sapk/plugin-gluster
$ docker volume ls
DRIVER VOLUME NAME
$ uname -a
Linux hostname 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
$ docker --version
Docker version 17.06.2-ee-8, build 4e8ed51
$ docker plugin inspect sapk/plugin-gluster
[
{
"Config": {
"Args": {
"Description": "Arguments to be passed to the plugin",
"Name": "args",
"Settable": [
"value"
],
"Value": []
},
"Description": "GlusterFS plugin for Docker",
"DockerVersion": "18.03.0-ce",
"Documentation": "https://docs.docker.com/engine/extend/plugins/",
"Entrypoint": [
"/usr/bin/docker-volume-gluster",
"daemon"
],
"Env": [
{
"Description": "",
"Name": "DEBUG",
"Settable": [
"value"
],
"Value": "0"
},
{
"Description": "",
"Name": "MOUNT_UNIQ",
"Settable": [
"value"
],
"Value": "0"
}
],
"Interface": {
"Socket": "gluster.sock",
"Types": [
"docker.volumedriver/1.0"
]
},
"IpcHost": false,
"Linux": {
"AllowAllDevices": false,
"Capabilities": [
"CAP_SYS_ADMIN"
],
"Devices": [
{
"Description": "",
"Name": "",
"Path": "/dev/fuse",
"Settable": null
}
]
},
"Mounts": null,
"Network": {
"Type": "host"
},
"PidHost": false,
"PropagatedMount": "/var/lib/docker-volumes/gluster",
"User": {},
"WorkDir": "",
"rootfs": {
"diff_ids": [
"sha256:afd8ae1982e66fda975ab2a3389d596878bb7ffa16e56ac85427be1387078068"
],
"type": "layers"
}
},
"Enabled": true,
"Id": "054913b9a430435062b942e60344f29f5ac6af943a5519e2de40ef80ea6e174c",
"Name": "sapk/plugin-gluster:latest",
"PluginReference": "docker.io/sapk/plugin-gluster:latest",
"Settings": {
"Args": [],
"Devices": [
{
"Description": "",
"Name": "",
"Path": "/dev/fuse",
"Settable": null
}
],
"Env": [
"DEBUG=0",
"MOUNT_UNIQ=0"
],
"Mounts": []
}
}
]
$
Logs
Plugin daemon log:
/var/lib/docker/plugins/feb488a43c8777d985a2ab8bcf3afa5bdbc8515da1b4581aab0888bb4368bb3a/rootfs/usr/bin/docker-volume-gluster daemon --verbose
DEBU[0000] Debug mode on
DEBU[0000] Init gluster driver at /var/lib/docker-volumes/gluster, UniqName: false
WARN[0000] No persistence file found, I will start with a empty list of volume.Config File "persistence" Not Found in "[/etc/docker-volumes/gluster]"
DEBU[0000] &{{{0 0} 0 0 0 0} /var/lib/docker-volumes/gluster false 0xc42012c780 map[] map[]}
DEBU[0000] &{0xc4200a48c0 {0xc42001fcb0}}
2018/06/07 11:32:34 Entering go-plugins-helpers listPath
DEBU[0063] Entering List
2018/06/07 11:33:57 Entering go-plugins-helpers listPath
DEBU[0146] Entering List
2018/06/07 11:37:01 Entering go-plugins-helpers listPath
DEBU[0330] Entering List
2018/06/07 11:37:15 Entering go-plugins-helpers listPath
DEBU[0343] Entering List
2018/06/07 11:37:35 Entering go-plugins-helpers listPath
DEBU[0364] Entering List
2018/06/07 11:37:57 Entering go-plugins-helpers listPath
DEBU[0386] Entering List
2018/06/07 11:38:22 Entering go-plugins-helpers listPath
DEBU[0411] Entering List
2018/06/07 11:40:46 Entering go-plugins-helpers listPath
DEBU[0555] Entering List
The text was updated successfully, but these errors were encountered: