A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vmware/docker-volume-vsphere/issues/1807 below:

plugin is not enabled after node is reboot · Issue #1807 · vmware-archive/vsphere-storage-for-docker · GitHub

After a node is reboot:

vmware@ubuntu16:~$ docker plugin ls
ID                  NAME                DESCRIPTION                           ENABLED
256bf37c37c2        vfile:latest        VMWare vFile Docker Volume plugin     false
3e1d9103c203        vsphere:latest      VMWare vSphere Docker Volume plugin   true

Log:

2017-08-23 14:31:08.47903465 -0700 PDT [INFO] No config file found. Using defaults.
2017-08-23 14:31:08.481082349 -0700 PDT [INFO] Starting plugin driver=vfile log_level=info config="/etc/vfile.conf"
2017-08-23 14:31:08.481163594 -0700 PDT [INFO] Getting volume data from unix:///var/run/docker.sock
2017-08-23 14:31:10.481355883 -0700 PDT [INFO] Can't connect to unix:///var/run/docker.sock due to (An error occurred trying to connect: context deadline exceeded), skipping discovery
2017-08-23 14:31:10.481425358 -0700 PDT [INFO] Refcounting failed: (An error occurred trying to connect: context deadline exceeded).
2017-08-23 14:31:10.481467273 -0700 PDT [INFO] Started loading file server image
2017-08-23 14:31:10.481780444 -0700 PDT [INFO] Scheduling again after 2 seconds
2017-08-23 14:31:12.483140494 -0700 PDT [INFO] Getting volume data from unix:///var/run/docker.sock
2017-08-23 14:31:14.48346575 -0700 PDT [INFO] Can't connect to unix:///var/run/docker.sock due to (An error occurred trying to connect: context deadline exceeded), skipping discovery
2017-08-23 14:31:14.483530437 -0700 PDT [INFO] Refcounting failed: (An error occurred trying to connect: context deadline exceeded). Attempts left: 20
2017-08-23 14:31:14.483541511 -0700 PDT [INFO] Scheduling again after 4 seconds
2017-08-23 14:31:18.483702634 -0700 PDT [INFO] Getting volume data from unix:///var/run/docker.sock
2017-08-23 14:31:20.484010324 -0700 PDT [INFO] Can't connect to unix:///var/run/docker.sock due to (An error occurred trying to connect: context deadline exceeded), skipping discovery
2017-08-23 14:31:20.484132085 -0700 PDT [INFO] Refcounting failed: (An error occurred trying to connect: context deadline exceeded). Attempts left: 19
2017-08-23 14:31:20.484165247 -0700 PDT [INFO] Scheduling again after 8 seconds

vFile can be enabled again:

vmware@ubuntu16:~$ docker plugin enable vfile
vfile
vmware@ubuntu16:~$ docker plugin ls
ID                  NAME                DESCRIPTION                           ENABLED
256bf37c37c2        vfile:latest        VMWare vFile Docker Volume plugin     true
3e1d9103c203        vsphere:latest      VMWare vSphere Docker Volume plugin   true

Log:

2017-08-23 14:37:05.617702809 -0700 PDT [INFO] No config file found. Using defaults.
2017-08-23 14:37:05.6178653 -0700 PDT [INFO] Starting plugin driver=vfile log_level=info config="/etc/vfile.conf"
2017-08-23 14:37:05.617946719 -0700 PDT [INFO] Getting volume data from unix:///var/run/docker.sock
2017-08-23 14:37:05.642304905 -0700 PDT [INFO] Found 0 running or paused containers
2017-08-23 14:37:05.647059133 -0700 PDT [INFO] Discovered 0 volumes that may be in use.
2017-08-23 14:37:05.647076175 -0700 PDT [INFO] Refcounting successfully completed
2017-08-23 14:37:05.647114702 -0700 PDT [INFO] Started loading file server image
2017-08-23 14:37:05.689048125 -0700 PDT [INFO] Swarm node role: worker. Return from NewKvStore nodeID=kcfw9ceaajvjmdr96q2qxdg7j
2017-08-23 14:37:05.689087786 -0700 PDT [INFO] vFile plugin started version="vFile Volume Driver v0.2"
2017-08-23 14:37:05.689214985 -0700 PDT [INFO] Going into ServeUnix - Listening on Unix socket address="/run/docker/plugins/vfile.sock"

The reason might be due to the base plugin is not up yet. However the retry didn't continue even there are still attempts left. Need to explore the reason.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4