vmware-archive / vsphere-storage-for-docker

vSphere Storage for Docker
https://vmware.github.io/vsphere-storage-for-docker
Apache License 2.0
251 stars 95 forks source link

docker daemon failed to start after installing vDVS plugin #2035

Closed ashahi1 closed 6 years ago

ashahi1 commented 6 years ago

This issue was reported on the slack channel for docker-volume-vsphere. Posting the details from the information posted by the customer on the slack channel.

Issue as reported by customer:

"Just tried hatchway for the first time. After running the following command the docker daemon bombed out and will no longer restart even after rebooting the vm:"

docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:0.19`

Journalctl logs:


97a5348936b980a825af7795bb7494b72fe9e4df6dec3d458a328c/config.json: open /var/lib/docker/plugins/15fdae39e197a5348936b980a825af7795bb7494b72fe9e4df6dec3d458a328c/config.json
: no such file or directory
Dec 10 22:38:06 docker-client systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Dec 10 22:38:06 docker-client systemd[1]: Failed to start Docker Daemon.
Dec 10 22:38:06 docker-client systemd[1]: docker.service: Unit entered failed state.
Dec 10 22:38:06 docker-client systemd[1]: docker.service: Failed with result 'exit-code'.```
ashahi1 commented 6 years ago

@shuklanirdesh82 can you please take a look?

james65535 commented 6 years ago

Feel free to reach out to me if any further info is required, I will keep the affected docker host around in case the issue is not easily replicated.

govint commented 6 years ago

@james65535 can you upload the plugin logs if any (/var/log/docker-volume-vsphere.log). SHouldn't this issue be raised on Moby, if the docker daemon is down.

docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:0.19 0.19: Pulling from vmware/docker-volume-vsphere 9bb07d39b032: Download complete Digest: sha256:278cf4ffc37d5dacddab470d1fe4a55a3d93c3368b8f2ff8f6a0675ff49f8179 Status: Downloaded newer image for vmware/docker-volume-vsphere:0.19 Installed plugin vmware/docker-volume-vsphere:0.19

This is what I got with, docker version Client: Version: 17.09.0-ce API version: 1.32 Go version: go1.8.3 Git commit: afdb6d4 Built: Tue Sep 26 22:42:38 2017 OS/Arch: linux/amd64

Server: Version: 17.09.0-ce API version: 1.32 (minimum version 1.12) Go version: go1.8.3 Git commit: afdb6d4 Built: Tue Sep 26 22:41:20 2017 OS/Arch: linux/amd64 Experimental: false

james65535 commented 6 years ago

Thanks for the follow up, /var/log/docker-volume-vsphere.log doesn't exist. Also, I cannot do a docker version as the server is offline. I note your comment about Moby, I'm fine with closing this issue if its not helpful for the project; my initial intent was to just discuss it in slack.

shuklanirdesh82 commented 6 years ago

Also, I cannot do a docker version as the server is offline.

@james65535 It seems docker is not configured properly. Can you configure and give a shot again?

Closing this issue, let's reopen if the issue persists even after configure docker correctly.

shuklanirdesh82 commented 6 years ago

@ashahi1 can you please perform plugin installation on the photon 1.0 VM with docker 1.13.1?

Here is the detail that I know of:

docker: 1.13.1 OS: Photon 1.0 (4.4.62-1.ph1-esx)

uname -a `Linux docker-client 4.4.62-1.ph1-esx #1-photon SMP Wed Apr 26 23:41:32 UTC 2017 x86_64 GNU/Linux`

As per our document vDVS should be installed on docker 1.13 and above while using managed plugin, let's test out backward compat with docker 1.13 and update the issue with your exercise.