docker-swarm-visualizer: Stuck in state "Pending"
Hello,
I have just created a docker swarm from scratch, and I am not able to run the visualizer, since its stuck in pending.
$ docker service ls && docker service ps viz
ID NAME MODE REPLICAS IMAGE PORTS
ylpdkfqjv0o8 viz replicated 0/1 dockersamples/visualizer:latest *:9090->8080/tcp
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
j7z2l72rlf46 viz.1 dockersamples/visualizer:latest Running Pending 4 minutes ago
Docker version:
$ docker version
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:10:54 2017
OS/Arch: linux/amd64
Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:10:54 2017
OS/Arch: linux/amd64
Experimental: false
apt-cache policy docker-engine
docker-engine:
Installed: 17.05.0~ce-0~ubuntu-xenial
Candidate: 17.05.0~ce-0~ubuntu-xenial
Same setup on 17.03 works, so I suspect the 17.05 is not supported yet?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (7 by maintainers)
Yea the problem is the newer node-based healthcheck @ManoMarks I’ve had the same issue when it’s a service, the service eventually fails. The HC always exits 1 so it won’t cause issues in docker run, but you’ll see it marked unhealthy eventually. As a service, it will recreate itself after 30s or so, which may not be noticed until someone looks at docker events or service ps history.
I’ll dig in this weekend and see how to fix healthcheck.