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

docker daemon failed to start after installing vDVS plugin #2035

Closed
ashahi1 opened this issue Dec 11, 2017 · 6 comments · Fixed by #2045
Closed

docker daemon failed to start after installing vDVS plugin #2035

ashahi1 opened this issue Dec 11, 2017 · 6 comments · Fixed by #2045

Comments

@ashahi1
Copy link
Contributor

ashahi1 commented Dec 11, 2017

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
Copy link
Contributor Author

ashahi1 commented Dec 11, 2017

@shuklanirdesh82 can you please take a look?

@james65535
Copy link

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
Copy link
Contributor

govint commented Dec 12, 2017

@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
Copy link

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
Copy link
Contributor

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
Copy link
Contributor

shuklanirdesh82 commented Dec 12, 2017

@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.

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

Successfully merging a pull request may close this issue.

4 participants