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

Docker 3.2: Share mount fails with mount_prefix parameter with managed plugin #668

Open
sonawane-shashikant opened this issue Jul 3, 2019 · 2 comments

Comments

@sonawane-shashikant
Copy link

When mount prefix parameter is set in hpe.conf havinng managed plugin, and share is created and mounted, share mount fails with the below error.

Test Bed -
[root@cld13b5 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
[root@cld13b5 ~]# docker plugin inspect hpe| grep PluginRef
"PluginReference": "docker.io/hpestorage/hpedockervolumeplugin:3.2",
[root@cld13b5 ~]#

[root@cld13b5 ~]# docker run -it --rm --mount src=Share1,dst=/DATA,volume-driver=hpe --name MOUNT1 busybox /bin/sh
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused "rootfs_linux.go:58: mounting \"/var/lib/docker/plugins/5fa8f2f6f99efc225ee692bdbe0cdb71d621fd67d12140e36e2d240867109e12/rootfs/var/lib/kubelet/plugins/hpe.com/3par/mounts/Share1\" to rootfs \"/var/lib/docker/overlay2/047c93736bb29487b86fd413b0135b7f94432c9283ef9be335fc2b6b92ecf0a3/merged\" at \"/DATA\" caused \"stat /var/lib/docker/plugins/5fa8f2f6f99efc225ee692bdbe0cdb71d621fd67d12140e36e2d240867109e12/rootfs/var/lib/kubelet/plugins/hpe.com/3par/mounts/Share1: no such file or directory\""": unknown.
[root@cld13b5 ~]#

Attached are -

MountUnmountConsoleOutPut.txt
hpe.conf.txt
Log_MountUnmountConsoleOutPut.txt

@imran-ansari
Copy link
Collaborator

@sonawane-shashikant -
Would it be enough to mention the below text on the main page under Limitations?

The configuration parameter, mount_prefix, is applicable for containerized plugin only. If used with the managed plugin, mount operation fails.

@sonawane-shashikant
Copy link
Author

Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants