Open hpe-storage opened 6 years ago
Hello @hpe-storage, Docker EE 2.0 does not support managed Docker Volume plugins as per a statement received from Docker, Inc. The kubelet runs in a container with no visibility into /var/lib/docker/plugins (the kubelet needs to bind mount /var/lib/docker/plugins as rshared) and therefor the flexvolume driver is unable to bind mount the path for the pod you're trying to create. Please raise this issue with Docker, Inc.
@drajen,
If the /var/lib/docker/plugins is not present in the bind mounts in the kubelet container, could you clarify how the nimble docker volume plugin (managed plugin) is able to work with kubernetes 1.8 environment ?
Anything specific you have done to resolve this. And we are not running in Docker EE 2.0 release but Docker 17.03
[docker@kuber-master ~]$ docker version
Client:
Version: 17.03.2-ee-8
API version: 1.27
Go version: go1.7.5
Git commit: 74b7e2f
Built: Wed Dec 13 21:06:31 2017
OS/Arch: linux/amd64
Server:
Version: 17.03.2-ee-8
API version: 1.27 (minimum version 1.12)
Go version: go1.7.5
Git commit: 74b7e2f
Built: Wed Dec 13 21:06:31 2017
OS/Arch: linux/amd64
Experimental: false
Docker, Inc does not allow managed plugins to be accessed by the ucp-kubelet. It's an informed decision made by Docker, Inc engineering. Legacy plugins work just fine and that's the route Nimble has taken.
On Wed, Jun 13, 2018, 7:53 AM William Durairaj notifications@github.com wrote:
@drajen https://github.com/drajen,
If the /var/lib/docker/plugins is not present in the bind mounts in the kubelet container, could you clarify how the nimble docker volume plugin (managed plugin) is able to work with kubernetes 1.8 environment ?
Anything specific you have done to resolve this. And we are not running in Docker EE 2.0 release but Docker 17.03
[docker@kuber-master ~]$ docker version Client: Version: 17.03.2-ee-8 API version: 1.27 Go version: go1.7.5 Git commit: 74b7e2f Built: Wed Dec 13 21:06:31 2017 OS/Arch: linux/amd64
Server: Version: 17.03.2-ee-8 API version: 1.27 (minimum version 1.12) Go version: go1.7.5 Git commit: 74b7e2f Built: Wed Dec 13 21:06:31 2017 OS/Arch: linux/amd64 Experimental: false
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hpe-storage/dory/issues/36#issuecomment-396966701, or mute the thread https://github.com/notifications/unsubscribe-auth/AGs1aE8jjOID0EZNfgRQRDGx5lqcDnaQks5t8SdsgaJpZM4UG71B .
Under plain kubernetes environment, the flexvolumedriver binaries are installed, under
Config Details:
Contents from /var/log/dory.log
looking at the system output --
ls -l /opt/hpe/data/hpedocker-dm-uuid-mpath-360002ac00000000001012f2e00019d52
reveals the directory is not directly available in the docker host, but under the plugin's rootfs something similar to thisSo, it short the flexvolumedriver looks it does the following
docker volume inspect <vol>
As part of this , can I ask , if the flexvolumedriver
where "mountpoint" is got from the
$ docker volume inspect <vol>