docker container boof faild caused by docker-volume-davfs bug, there are the logs:
Failure error while mounting volume Failure error while mounting volume '/var/lib/docker/plugins/66235d61a6c4b16d936c6c2369e343665e65b90fc83cabc9770c3525483c5632/rootfs': VolumeDriver.Mount: exit status 1%!(EXTRA []interface {}=[])
I got this problem after I rebooted my vps. To reproduce the bug, I've tried several times on different vps. It reproduced randomly.
To figure out this bug I attached inside of the plugin rootfs sh by "Debugging plugins"
I read the main.go and simulated the action of mount function by shell
mount.davfs http://x.x.x.x:xx/xx /mnt/volumes/223bce26d5145548e9980f5738087c80 -o uid=1000 -o gid=1000
and got those msg:
found PID file /var/run/mount.davfs/mnt-volumes-223bce26d5145548e9980f5738087c80.pid.
Either /mnt/volumes/223bce26d5145548e9980f5738087c80 is used by another process,
or another mount process ended irregular
As so far, the bug is clear. And there're two enhanced features can be discussed:
- The different (name) webdav volumes with the same url cannot be support by now due to the same davfs pid name confliction . Could we do some works to support?
- The davfs pid file conflicted probabilistically after the physical machines of docker rebooted .
Thanks for your great jobs !
docker container boof faild caused by docker-volume-davfs bug, there are the logs:
Failure error while mounting volume Failure error while mounting volume '/var/lib/docker/plugins/66235d61a6c4b16d936c6c2369e343665e65b90fc83cabc9770c3525483c5632/rootfs': VolumeDriver.Mount: exit status 1%!(EXTRA []interface {}=[])I got this problem after I rebooted my vps. To reproduce the bug, I've tried several times on different vps. It reproduced randomly.
To figure out this bug I attached inside of the plugin rootfs sh by "Debugging plugins"
I read the main.go and simulated the action of mount function by shell
mount.davfs http://x.x.x.x:xx/xx /mnt/volumes/223bce26d5145548e9980f5738087c80 -o uid=1000 -o gid=1000and got those msg:
As so far, the bug is clear. And there're two enhanced features can be discussed:
Thanks for your great jobs !