-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
containers/create #58
Comments
Sep 23 08:05:33 docker-node2 kernel: XFS (dm-3): Mounting V4 Filesystem |
following command can be executed successfully: However the plugin unsuccess , log: |
I use "nsenter" command enter the volume plugin ,and log output is as follows. [root@docker-node1:~#/usr/bin/docker-volume-gluster daemon -v |
The first lines of the panic :
|
2019/09/25 11:27:53 Entering go-plugins-helpers mountPath |
why v.GetRemote() is null ??? |
I enter the volume plugin runtime, and run glusterfs comand is success. [root@docker-host docker-volume-gluster]# ps -ef|grep glus 2019/09/25 15:02:49 Entering go-plugins-helpers mountPath |
why GetRemote() return null? |
Two problems were found. One was that the container had stopped and the volume was still in use when it was deleted.Another problem is "docker volume rm" cannot be deleted the volume: |
There are so many problems that we can't use it formally. It seems that a lot of problems cannot be solved. I wonder if k8s has such problems |
Please see #44, on an other plugin I change how I managed management of volume but it introduce other bug when done with this one and haven't time to look at it. |
I use the "make docker-plugin" command to install the plugin can be normal running, Maybe the official image is lossy? |
Description
[root@docker-node2 data]# docker volume create --driver sapk/plugin-gluster --opt voluri="docker-node2:data_share" --name mysql_data
mysql_data
[root@docker-node2 data]# docker run -v mysql_data:/mnt -ti nginx
docker: Error response from daemon: VolumeDriver.Mount: exit status 1.
[root@docker-node2 data]# mount -t glusterfs docker-node2:data_share /data/client
[root@docker-node2 data]#
--use docker run mount glusterfs exit status 1.
--Using system commands is successful:mount -t glusterfs docker-node2:data_share /data/client
Logs
ep 23 07:42:42 docker-node2 kernel: XFS (dm-3): Mounting V4 Filesystem
Sep 23 07:42:42 docker-node2 kernel: XFS (dm-3): Ending clean mount
Sep 23 07:42:42 docker-node2 kernel: XFS (dm-3): Unmounting Filesystem
Sep 23 07:42:42 docker-node2 dockerd: time="2019-09-23T07:42:42+01:00" level=error msg="2019/09/23 06:42:42 Entering go-plugins-helpers capabilitiesPath" plugin=4aeb7d50a3ea0e89b9155a7527f2dd3637ff810bf7bab0cf6f8ecb9da1c47128
Sep 23 07:42:42 docker-node2 dockerd: time="2019-09-23T07:42:42+01:00" level=error msg="2019/09/23 06:42:42 Entering go-plugins-helpers getPath" plugin=4aeb7d50a3ea0e89b9155a7527f2dd3637ff810bf7bab0cf6f8ecb9da1c47128
Sep 23 07:42:43 docker-node2 kernel: XFS (dm-3): Mounting V4 Filesystem
Sep 23 07:42:43 docker-node2 kernel: XFS (dm-3): Ending clean mount
Sep 23 07:42:43 docker-node2 dockerd: time="2019-09-23T07:42:43+01:00" level=error msg="2019/09/23 06:42:43 Entering go-plugins-helpers capabilitiesPath" plugin=4aeb7d50a3ea0e89b9155a7527f2dd3637ff810bf7bab0cf6f8ecb9da1c47128
Sep 23 07:42:43 docker-node2 dockerd: time="2019-09-23T07:42:43+01:00" level=error msg="2019/09/23 06:42:43 Entering go-plugins-helpers getPath" plugin=4aeb7d50a3ea0e89b9155a7527f2dd3637ff810bf7bab0cf6f8ecb9da1c47128
Sep 23 07:42:43 docker-node2 dockerd: time="2019-09-23T07:42:43+01:00" level=error msg="2019/09/23 06:42:43 Entering go-plugins-helpers capabilitiesPath" plugin=4aeb7d50a3ea0e89b9155a7527f2dd3637ff810bf7bab0cf6f8ecb9da1c47128
Sep 23 07:42:43 docker-node2 dockerd: time="2019-09-23T07:42:43+01:00" level=error msg="2019/09/23 06:42:43 Entering go-plugins-helpers mountPath" plugin=4aeb7d50a3ea0e89b9155a7527f2dd3637ff810bf7bab0cf6f8ecb9da1c47128
Sep 23 07:42:43 docker-node2 kernel: XFS (dm-3): Unmounting Filesystem
Sep 23 07:42:43 docker-node2 dockerd: time="2019-09-23T07:42:43.907368280+01:00" level=error msg="Handler for POST /v1.40/containers/create returned error: VolumeDriver.Mount: exit status 1"
The text was updated successfully, but these errors were encountered: