Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

CoreOS - vsphere.socket not found #1924

Closed
mlabouardy opened this issue Oct 5, 2017 · 8 comments
Closed

CoreOS - vsphere.socket not found #1924

mlabouardy opened this issue Oct 5, 2017 · 8 comments

Comments

@mlabouardy
Copy link

mlabouardy commented Oct 5, 2017

I cannot install vsphere plugin on CoreOS machine with docker 17.06

docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:0.16
0.16: Pulling from vmware/docker-volume-vsphere
1d54a760dc2a: Download complete 
Digest: sha256:5281d47506740ee927001ea5fc16d8584ed7fc04de0fb25969f0b11eb3243345
Status: Downloaded newer image for vmware/docker-volume-vsphere:0.16
Error response from daemon: dial unix /run/docker/plugins/d2f8c8385b924c1ae13e640a538a0a8a324dfa5c53d567188cebbbbca8f4c097/vsphere.sock: connect: no such file or directory

Docker version:

image

CoreOS version:

image

@shuklanirdesh82
Copy link
Contributor

@mlabouardy can you please share docker service logs?

@govint
Copy link
Contributor

govint commented Oct 5, 2017

@mlabouardy, also can you check and upload /var/log/docker-volume-vsphere.log if one is present in the coreOS host.

@mlabouardy
Copy link
Author

@govint
/var/log/docker-volume-vsphere.log:

2017-10-04 08:57:03.49877054 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-04 08:57:03.500499511 +0000 UTC [INFO] Starting plugin log_level=info config="/etc/docker-volume-vsphere.conf" driver=vsphere
2017-10-04 08:57:03.500523731 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-04 08:57:03.512919506 +0000 UTC [INFO] Found 0 running or paused containers
2017-10-04 08:57:03.5131943 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-04 08:57:03.513205117 +0000 UTC [INFO] Refcounting successfully completed
2017-10-04 08:57:03.513212236 +0000 UTC [INFO] Docker VMDK plugin started port=1019 mock_esx=false version="vSphere Volume Driver v0.5"
2017-10-04 08:57:03.513355916 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-04 08:57:03.513516748 +0000 UTC [INFO] Group root not found
2017-10-04 08:57:03.626975553 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-04 08:57:03.627017361 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-04 08:57:03.627033855 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-04 08:57:03.635715243 +0000 UTC [INFO] Found 0 running or paused containers
2017-10-04 08:57:03.635943839 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-04 08:57:03.63595383 +0000 UTC [INFO] Refcounting successfully completed
2017-10-04 08:57:03.635960717 +0000 UTC [INFO] Docker VMDK plugin started mock_esx=false version="vSphere Volume Driver v0.5" port=1019
2017-10-04 08:57:03.636111779 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-04 08:57:03.636246172 +0000 UTC [INFO] Group root not found
2017-10-04 09:04:12.266197229 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-04 09:04:12.266237166 +0000 UTC [INFO] Starting plugin log_level=info config="/etc/docker-volume-vsphere.conf" driver=vsphere
2017-10-04 09:04:12.266263322 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-04 09:04:12.281570507 +0000 UTC [INFO] Found 0 running or paused containers
2017-10-04 09:04:12.281875301 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-04 09:04:12.281886821 +0000 UTC [INFO] Refcounting successfully completed
2017-10-04 09:04:12.281894923 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.5" port=1019 mock_esx=false
2017-10-04 09:04:12.282021138 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-04 09:04:12.282173961 +0000 UTC [INFO] Group root not found
2017-10-04 09:04:12.39409405 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-04 09:04:12.394130831 +0000 UTC [INFO] Starting plugin log_level=info config="/etc/docker-volume-vsphere.conf" driver=vsphere
2017-10-04 09:04:12.394150859 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-04 09:04:12.406235217 +0000 UTC [INFO] Found 0 running or paused containers
2017-10-04 09:04:12.406747238 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-04 09:04:12.406770287 +0000 UTC [INFO] Refcounting successfully completed
2017-10-04 09:04:12.406785921 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.5" port=1019 mock_esx=false
2017-10-04 09:04:12.406986072 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-04 09:04:12.407189038 +0000 UTC [INFO] Group root not found
2017-10-04 09:04:33.082150498 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-04 09:04:33.082208493 +0000 UTC [INFO] Starting plugin log_level=info config="/etc/docker-volume-vsphere.conf" driver=vsphere
2017-10-04 09:04:33.082235743 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-04 09:04:33.100729963 +0000 UTC [INFO] Found 0 running or paused containers
2017-10-04 09:04:33.101227862 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-04 09:04:33.101298098 +0000 UTC [INFO] Refcounting successfully completed
2017-10-04 09:04:33.101317321 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.5" port=1019 mock_esx=false
2017-10-04 09:04:33.101462401 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-04 09:04:33.101701508 +0000 UTC [INFO] Group root not found
2017-10-04 09:04:33.232754159 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-04 09:04:33.232791678 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-04 09:04:33.232808827 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-04 09:04:33.247048805 +0000 UTC [INFO] Found 0 running or paused containers
2017-10-04 09:04:33.247354904 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-04 09:04:33.247368032 +0000 UTC [INFO] Refcounting successfully completed
2017-10-04 09:04:33.247376814 +0000 UTC [INFO] Docker VMDK plugin started mock_esx=false version="vSphere Volume Driver v0.5" port=1019
2017-10-04 09:04:33.247485282 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-04 09:04:33.247593158 +0000 UTC [INFO] Group root not found
2017-10-04 09:08:38.047562478 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-04 09:08:38.047630673 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-04 09:08:38.047664421 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-04 09:08:38.063708206 +0000 UTC [INFO] Found 0 running or paused containers
2017-10-04 09:08:38.064398606 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-04 09:08:38.064442432 +0000 UTC [INFO] Refcounting successfully completed
2017-10-04 09:08:38.064460552 +0000 UTC [INFO] Docker VMDK plugin started mock_esx=false version="vSphere Volume Driver v0.5" port=1019
2017-10-04 09:08:38.064720206 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-04 09:08:38.064905638 +0000 UTC [INFO] Group root not found
2017-10-04 09:08:38.199324599 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-04 09:08:38.199364838 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-04 09:08:38.199410835 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-04 09:08:38.211684469 +0000 UTC [INFO] Found 0 running or paused containers
2017-10-04 09:08:38.212200976 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-04 09:08:38.212223586 +0000 UTC [INFO] Refcounting successfully completed
2017-10-04 09:08:38.212240646 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.5" port=1019 mock_esx=false
2017-10-04 09:08:38.212415972 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-04 09:08:38.212653047 +0000 UTC [INFO] Group root not found
2017-10-04 09:10:49.943660044 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-04 09:10:49.943780912 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-04 09:10:49.943800326 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-04 09:10:49.952595196 +0000 UTC [INFO] Found 0 running or paused containers
2017-10-04 09:10:49.952821789 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-04 09:10:49.952831003 +0000 UTC [INFO] Refcounting successfully completed
2017-10-04 09:10:49.952837478 +0000 UTC [INFO] Docker VMDK plugin started mock_esx=false version="vSphere Volume Driver v0.5" port=1019
2017-10-04 09:10:49.952911431 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-04 09:10:49.953045478 +0000 UTC [INFO] Group root not found
2017-10-04 09:10:50.041355703 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-04 09:10:50.041391872 +0000 UTC [INFO] Starting plugin log_level=info config="/etc/docker-volume-vsphere.conf" driver=vsphere
2017-10-04 09:10:50.041407635 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-04 09:10:50.049815637 +0000 UTC [INFO] Found 0 running or paused containers
2017-10-04 09:10:50.050002277 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-04 09:10:50.050009702 +0000 UTC [INFO] Refcounting successfully completed
2017-10-04 09:10:50.050015811 +0000 UTC [INFO] Docker VMDK plugin started port=1019 mock_esx=false version="vSphere Volume Driver v0.5"
2017-10-04 09:10:50.050129771 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-04 09:10:50.050252796 +0000 UTC [INFO] Group root not found
2017-10-05 13:43:33.863535879 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 13:43:33.873283275 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-05 13:43:33.873321802 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 13:43:33.902352594 +0000 UTC [INFO] Found 5 running or paused containers
2017-10-05 13:43:33.912069732 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-05 13:43:33.912100205 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 13:43:33.912117258 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.5" port=1019 mock_esx=false
2017-10-05 13:43:33.912385976 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 13:43:33.912649306 +0000 UTC [INFO] Group root not found
2017-10-05 13:43:34.030283721 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 13:43:34.030316954 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-05 13:43:34.030343099 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 13:43:34.054815836 +0000 UTC [INFO] Found 5 running or paused containers
2017-10-05 13:43:34.061213439 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-05 13:43:34.061229239 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 13:43:34.061255299 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.5" port=1019 mock_esx=false
2017-10-05 13:43:34.06134452 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 13:43:34.061486103 +0000 UTC [INFO] Group root not found
2017-10-05 13:44:03.981193827 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 13:44:03.981244287 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-05 13:44:03.981272001 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 13:44:04.005714579 +0000 UTC [INFO] Found 5 running or paused containers
2017-10-05 13:44:04.012963411 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-05 13:44:04.013008518 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 13:44:04.013026948 +0000 UTC [INFO] Docker VMDK plugin started port=1019 mock_esx=false version="vSphere Volume Driver v0.5"
2017-10-05 13:44:04.013247979 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 13:44:04.013370047 +0000 UTC [INFO] Group root not found
2017-10-05 13:44:04.128818089 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 13:44:04.128870493 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-05 13:44:04.128890676 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 13:44:04.14815595 +0000 UTC [INFO] Found 5 running or paused containers
2017-10-05 13:44:04.154454761 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-05 13:44:04.154468789 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 13:44:04.154476944 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.5" port=1019 mock_esx=false
2017-10-05 13:44:04.154620826 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 13:44:04.154842495 +0000 UTC [INFO] Group root not found
2017-10-05 13:52:29.941739483 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 13:52:29.942471658 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-05 13:52:29.942544729 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 13:52:29.971413314 +0000 UTC [INFO] Found 5 running or paused containers
2017-10-05 13:52:29.977323417 +0000 UTC [INFO] Mounts read successfullydata="/dev/sda9 / ext4 rw,seclabel,relatime,data=ordered 0 0\n/dev/sda9 /mnt/vmdk ext4 rw,seclabel,relatime,data=ordered 0 0\nproc /proc proc rw,nosuid,nodev,noexec,relatime 0 0\ntmpfs /dev tmpfs rw,seclabel,nosuid,mode=755 0 0\ndevpts /dev/pts devpts rw,seclabel,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666 0 0\nsysfs /sys sysfs ro,seclabel,nosuid,nodev,noexec,relatime 0 0\ntmpfs /sys/fs/cgroup tmpfs ro,seclabel,nosuid,nodev,noexec,relatime,mode=755 0 0\ncgroup /sys/fs/cgroup/systemd cgroup ro,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0\ncgroup /sys/fs/cgroup/freezer cgroup ro,nosuid,nodev,noexec,relatime,freezer 0 0\ncgroup /sys/fs/cgroup/cpu,cpuacct cgroup ro,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0\ncgroup /sys/fs/cgroup/devices cgroup ro,nosuid,nodev,noexec,relatime,devices 0 0\ncgroup /sys/fs/cgroup/memory cgroup ro,nosuid,nodev,noexec,relatime,memory 0 0\ncgroup /sys/fs/cgroup/pids cgroup ro,nosuid,nodev,noexec,relatime,pids 0 0\ncgroup /sys/fs/cgroup/hugetlb cgroup ro,nosuid,nodev,noexec,relatime,hugetlb 0 0\ncgroup /sys/fs/cgroup/net_cls,net_prio cgroup ro,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0\ncgroup /sys/fs/cgroup/perf_event cgroup ro,nosuid,nodev,noexec,relatime,perf_event 0 0\ncgroup /sys/fs/cgroup/cpuset cgroup ro,nosuid,nodev,noexec,relatime,cpuset 0 0\ncgroup /sys/fs/cgroup/blkio cgroup ro,nosuid,nodev,noexec,relatime,blkio 0 0\nmqueue /dev/mqueue mqueue rw,seclabel,nosuid,nodev,noexec,relatime 0 0\ndevtmpfs /dev devtmpfs rw,seclabel,nosuid,size=1008096k,nr_inodes=252024,mode=755 0 0\ntmpfs /dev/shm tmpfs rw,seclabel,nosuid,nodev 0 0\ndevpts /dev/pts devpts rw,seclabel,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0\nmqueue /dev/mqueue mqueue rw,seclabel,relatime 0 0\nhugetlbfs /dev/hugepages hugetlbfs rw,seclabel,relatime,pagesize=2M 0 0\ntmpfs /var/run tmpfs rw,seclabel,nosuid,nodev,mode=755 0 0\nnone /var/run/torcx/unpack tmpfs ro,seclabel,relatime 0 0\nnsfs /var/run/docker/netns/ingress_sbox nsfs rw 0 0\nnsfs /var/run/docker/netns/1-ypwmnmm9bo nsfs rw 0 0\nnsfs /var/run/docker/netns/562b150ef22d nsfs rw 0 0\nnsfs /var/run/docker/netns/1-fnznw5anqs nsfs rw 0 0\nnsfs /var/run/docker/netns/f4f7ce3e31b6 nsfs rw 0 0\nnsfs /var/run/docker/netns/1-hy1rol2pj5 nsfs rw 0 0\nnsfs /var/run/docker/netns/639831f3c990 nsfs rw 0 0\nnsfs /var/run/docker/netns/1-xdqu8la3np nsfs rw 0 0\nnsfs /var/run/docker/netns/1-ve0e7mbd5l nsfs rw 0 0\nnsfs /var/run/docker/netns/9d06dea73f64 nsfs rw 0 0\nnsfs /var/run/docker/netns/918f392f12d8 nsfs rw 0 0\ntmpfs /var/run/user/500 tmpfs rw,seclabel,nosuid,nodev,relatime,size=205220k,mode=700,uid=500,gid=500 0 0\n/dev/sda9 /etc ext4 rw,seclabel,relatime,data=ordered 0 0\n/dev/sda9 /var/log ext4 rw,seclabel,relatime,data=ordered 0 0\ntmpfs /run/docker/plugins tmpfs rw,seclabel,nosuid,nodev,mode=755 0 0\nproc /proc/bus proc ro,relatime 0 0\nproc /proc/fs proc ro,relatime 0 0\nproc /proc/irq proc ro,relatime 0 0\nproc /proc/sys proc ro,relatime 0 0\nproc /proc/sysrq-trigger proc ro,relatime 0 0\ndevtmpfs /proc/kcore devtmpfs rw,seclabel,nosuid,size=1008096k,nr_inodes=252024,mode=755 0 0\ndevtmpfs /proc/latency_stats devtmpfs rw,seclabel,nosuid,size=1008096k,nr_inodes=252024,mode=755 0 0\ndevtmpfs /proc/timer_list devtmpfs rw,seclabel,nosuid,size=1008096k,nr_inodes=252024,mode=755 0 0\ndevtmpfs /proc/sched_debug devtmpfs rw,seclabel,nosuid,size=1008096k,nr_inodes=252024,mode=755 0 0\ntmpfs /sys/firmware tmpfs ro,seclabel,relatime 0 0\n"
2017-10-05 13:52:29.977569653 +0000 UTC [INFO] Successfully retrieved mountsmap=map[]
2017-10-05 13:52:29.977585014 +0000 UTC [INFO] Discovered 0 volumes in use.
2017-10-05 13:52:29.977590576 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 13:52:29.977598209 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.5" port=1019 mock_esx=false
2017-10-05 13:52:29.977778633 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 13:52:29.977964044 +0000 UTC [INFO] Group root not found
2017-10-05 13:52:30.099925794 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 13:52:30.099981888 +0000 UTC [INFO] Starting plugin config="/etc/docker-volume-vsphere.conf" driver=vsphere log_level=info
2017-10-05 13:52:30.100004954 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 13:52:30.122662684 +0000 UTC [INFO] Found 5 running or paused containers
2017-10-05 13:52:30.127231206 +0000 UTC [INFO] Mounts read successfullydata="/dev/sda9 / ext4 rw,seclabel,relatime,data=ordered 0 0\n/dev/sda9 /mnt/vmdk ext4 rw,seclabel,relatime,data=ordered 0 0\nproc /proc proc rw,nosuid,nodev,noexec,relatime 0 0\ntmpfs /dev tmpfs rw,seclabel,nosuid,mode=755 0 0\ndevpts /dev/pts devpts rw,seclabel,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666 0 0\nsysfs /sys sysfs ro,seclabel,nosuid,nodev,noexec,relatime 0 0\ntmpfs /sys/fs/cgroup tmpfs ro,seclabel,nosuid,nodev,noexec,relatime,mode=755 0 0\ncgroup /sys/fs/cgroup/systemd cgroup ro,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0\ncgroup /sys/fs/cgroup/freezer cgroup ro,nosuid,nodev,noexec,relatime,freezer 0 0\ncgroup /sys/fs/cgroup/cpu,cpuacct cgroup ro,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0\ncgroup /sys/fs/cgroup/devices cgroup ro,nosuid,nodev,noexec,relatime,devices 0 0\ncgroup /sys/fs/cgroup/memory cgroup ro,nosuid,nodev,noexec,relatime,memory 0 0\ncgroup /sys/fs/cgroup/pids cgroup ro,nosuid,nodev,noexec,relatime,pids 0 0\ncgroup /sys/fs/cgroup/hugetlb cgroup ro,nosuid,nodev,noexec,relatime,hugetlb 0 0\ncgroup /sys/fs/cgroup/net_cls,net_prio cgroup ro,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0\ncgroup /sys/fs/cgroup/perf_event cgroup ro,nosuid,nodev,noexec,relatime,perf_event 0 0\ncgroup /sys/fs/cgroup/cpuset cgroup ro,nosuid,nodev,noexec,relatime,cpuset 0 0\ncgroup /sys/fs/cgroup/blkio cgroup ro,nosuid,nodev,noexec,relatime,blkio 0 0\nmqueue /dev/mqueue mqueue rw,seclabel,nosuid,nodev,noexec,relatime 0 0\ndevtmpfs /dev devtmpfs rw,seclabel,nosuid,size=1008096k,nr_inodes=252024,mode=755 0 0\ntmpfs /dev/shm tmpfs rw,seclabel,nosuid,nodev 0 0\ndevpts /dev/pts devpts rw,seclabel,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0\nmqueue /dev/mqueue mqueue rw,seclabel,relatime 0 0\nhugetlbfs /dev/hugepages hugetlbfs rw,seclabel,relatime,pagesize=2M 0 0\ntmpfs /var/run tmpfs rw,seclabel,nosuid,nodev,mode=755 0 0\nnone /var/run/torcx/unpack tmpfs ro,seclabel,relatime 0 0\nnsfs /var/run/docker/netns/ingress_sbox nsfs rw 0 0\nnsfs /var/run/docker/netns/1-ypwmnmm9bo nsfs rw 0 0\nnsfs /var/run/docker/netns/562b150ef22d nsfs rw 0 0\nnsfs /var/run/docker/netns/1-fnznw5anqs nsfs rw 0 0\nnsfs /var/run/docker/netns/f4f7ce3e31b6 nsfs rw 0 0\nnsfs /var/run/docker/netns/1-hy1rol2pj5 nsfs rw 0 0\nnsfs /var/run/docker/netns/639831f3c990 nsfs rw 0 0\nnsfs /var/run/docker/netns/1-xdqu8la3np nsfs rw 0 0\nnsfs /var/run/docker/netns/1-ve0e7mbd5l nsfs rw 0 0\nnsfs /var/run/docker/netns/9d06dea73f64 nsfs rw 0 0\nnsfs /var/run/docker/netns/918f392f12d8 nsfs rw 0 0\ntmpfs /var/run/user/500 tmpfs rw,seclabel,nosuid,nodev,relatime,size=205220k,mode=700,uid=500,gid=500 0 0\n/dev/sda9 /etc ext4 rw,seclabel,relatime,data=ordered 0 0\n/dev/sda9 /var/log ext4 rw,seclabel,relatime,data=ordered 0 0\ntmpfs /run/docker/plugins tmpfs rw,seclabel,nosuid,nodev,mode=755 0 0\nproc /proc/bus proc ro,relatime 0 0\nproc /proc/fs proc ro,relatime 0 0\nproc /proc/irq proc ro,relatime 0 0\nproc /proc/sys proc ro,relatime 0 0\nproc /proc/sysrq-trigger proc ro,relatime 0 0\ndevtmpfs /proc/kcore devtmpfs rw,seclabel,nosuid,size=1008096k,nr_inodes=252024,mode=755 0 0\ndevtmpfs /proc/latency_stats devtmpfs rw,seclabel,nosuid,size=1008096k,nr_inodes=252024,mode=755 0 0\ndevtmpfs /proc/timer_list devtmpfs rw,seclabel,nosuid,size=1008096k,nr_inodes=252024,mode=755 0 0\ndevtmpfs /proc/sched_debug devtmpfs rw,seclabel,nosuid,size=1008096k,nr_inodes=252024,mode=755 0 0\ntmpfs /sys/firmware tmpfs ro,seclabel,relatime 0 0\n"
2017-10-05 13:52:30.127473533 +0000 UTC [INFO] Successfully retrieved mountsmap=map[]
2017-10-05 13:52:30.127491028 +0000 UTC [INFO] Discovered 0 volumes in use.
2017-10-05 13:52:30.127496966 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 13:52:30.127516941 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.5" port=1019 mock_esx=false
2017-10-05 13:52:30.127826732 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 13:52:30.127957808 +0000 UTC [INFO] Group root not found
2017-10-05 13:57:18.142674616 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 13:57:18.142738061 +0000 UTC [WARNING] Failed to load config file /etc/docker-volume-vsphere.conf: open /etc/docker-volume-vsphere.conf: no such file or directory
2017-10-05 13:57:18.14274902 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-05 13:57:18.142758953 +0000 UTC [INFO] Plugin options - port=1019
2017-10-05 13:57:18.142770318 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 13:57:18.159192749 +0000 UTC [INFO] Found 1 running or paused containers
2017-10-05 13:57:18.16061943 +0000 UTC [INFO] Discovered 0 volumes in use.
2017-10-05 13:57:18.160641805 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 13:57:18.160650683 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.4" port=1019 mock_esx=false
2017-10-05 13:57:18.16084879 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 13:57:18.160959434 +0000 UTC [INFO] Group root not found
2017-10-05 13:57:18.26334692 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 13:57:18.263395407 +0000 UTC [WARNING] Failed to load config file /etc/docker-volume-vsphere.conf: open /etc/docker-volume-vsphere.conf: no such file or directory
2017-10-05 13:57:18.263406226 +0000 UTC [INFO] Starting plugin log_level=info config="/etc/docker-volume-vsphere.conf" driver=vsphere
2017-10-05 13:57:18.263416001 +0000 UTC [INFO] Plugin options - port=1019
2017-10-05 13:57:18.263427461 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 13:57:18.282352503 +0000 UTC [INFO] Found 1 running or paused containers
2017-10-05 13:57:18.284762389 +0000 UTC [INFO] Discovered 0 volumes in use.
2017-10-05 13:57:18.284795229 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 13:57:18.284812725 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.4" port=1019 mock_esx=false
2017-10-05 13:57:18.284942442 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 13:57:18.28503547 +0000 UTC [INFO] Group root not found
2017-10-05 17:26:23.084673747 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 17:26:23.104394042 +0000 UTC [WARNING] Failed to load config file /etc/docker-volume-vsphere.conf: open /etc/docker-volume-vsphere.conf: no such file or directory
2017-10-05 17:26:23.104472325 +0000 UTC [INFO] Starting plugin driver=vsphere log_level=info config="/etc/docker-volume-vsphere.conf"
2017-10-05 17:26:23.104498788 +0000 UTC [INFO] Plugin options - port=1019
2017-10-05 17:26:23.104520672 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 17:26:23.148147168 +0000 UTC [INFO] Found 4 running or paused containers
2017-10-05 17:26:23.154735911 +0000 UTC [INFO] Discovered 0 volumes in use.
2017-10-05 17:26:23.154751693 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 17:26:23.154761538 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.4" port=1019 mock_esx=false
2017-10-05 17:26:23.154907516 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 17:26:23.155057285 +0000 UTC [INFO] Group root not found
2017-10-05 17:26:23.280445039 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 17:26:23.280492529 +0000 UTC [WARNING] Failed to load config file /etc/docker-volume-vsphere.conf: open /etc/docker-volume-vsphere.conf: no such file or directory
2017-10-05 17:26:23.280507684 +0000 UTC [INFO] Starting plugin config="/etc/docker-volume-vsphere.conf" driver=vsphere log_level=info
2017-10-05 17:26:23.280519706 +0000 UTC [INFO] Plugin options - port=1019
2017-10-05 17:26:23.280531591 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 17:26:23.301809242 +0000 UTC [INFO] Found 4 running or paused containers
2017-10-05 17:26:23.30520318 +0000 UTC [INFO] Discovered 0 volumes in use.
2017-10-05 17:26:23.305230224 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 17:26:23.305246169 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.4" port=1019 mock_esx=false
2017-10-05 17:26:23.305394775 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 17:26:23.305534904 +0000 UTC [INFO] Group root not found
2017-10-05 17:28:32.577331765 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 17:28:32.577369688 +0000 UTC [INFO] Starting plugin log_level=info config="/etc/docker-volume-vsphere.conf" driver=vsphere
2017-10-05 17:28:32.577389932 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 17:28:32.599555912 +0000 UTC [INFO] Found 2 running or paused containers
2017-10-05 17:28:32.603003847 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-05 17:28:32.603017135 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 17:28:32.603025762 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.5" port=1019 mock_esx=false
2017-10-05 17:28:32.603155299 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 17:28:32.603348907 +0000 UTC [INFO] Group root not found
2017-10-05 17:28:32.725267861 +0000 UTC [INFO] No config file found. Using defaults.
2017-10-05 17:28:32.725309675 +0000 UTC [INFO] Starting plugin config="/etc/docker-volume-vsphere.conf" driver=vsphere log_level=info
2017-10-05 17:28:32.725329742 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-10-05 17:28:32.74389517 +0000 UTC [INFO] Found 2 running or paused containers
2017-10-05 17:28:32.745950545 +0000 UTC [INFO] Discovered 0 volumes that may be in use.
2017-10-05 17:28:32.745964498 +0000 UTC [INFO] Refcounting successfully completed
2017-10-05 17:28:32.74597153 +0000 UTC [INFO] Docker VMDK plugin started version="vSphere Volume Driver v0.5" port=1019 mock_esx=false
2017-10-05 17:28:32.746049886 +0000 UTC [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vsphere.sock"
2017-10-05 17:28:32.746161548 +0000 UTC [INFO] Group root not found

@mlabouardy
Copy link
Author

@shuklanirdesh82
image

@govint
Copy link
Contributor

govint commented Oct 6, 2017

Seems to be related to a coreOS specific issue - docker/go-plugins-helpers#38, the socket file vsphere.sock possibly needs to be created with group as docker vs. root. The plugin is creating the socket with group as root and that seems to be causing the issue here.

Lets check that setting the group as docker works fine with any host. Consider also making this a config option with a default as root.

Docker seems to use group ID as docker anyway,
ls -l /var/run/docker.sock
srw-rw---- 1 root docker 0 Sep 12 06:51 /var/run/docker.sock

@govint govint self-assigned this Oct 6, 2017
@govint
Copy link
Contributor

govint commented Oct 6, 2017

I'm planning on adding a config option to specify the GID of the socket file with the default as root. The GID of docker is what docker uses and should work ok (will check on coreOS).

@govint
Copy link
Contributor

govint commented Oct 8, 2017

Fixes are in place and will complete the testing and get this out for a review.

@spawnia
Copy link
Contributor

spawnia commented Mar 14, 2018

I did stumble upon the same error today, which led me to this issue. Then, i had to look around your docs quite a bit to find the config option you mentioned. The command which worked for me on CoreOS was:

docker plugin install --grant-all-permissions --alias vsphere vmware/vsphere-storage-for-docker:latest "VDVS_SOCKET_GID=223"

Maybe you can put some information on this into the documentation, in the part where the installation is described.

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

No branches or pull requests

4 participants