Stuck in state "Pending"
See original GitHub issueHello,
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?
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (7 by maintainers)
Top Results From Across the Web
Troubleshoot Amazon ECS tasks stuck in the PENDING state
Some common scenarios that can cause your ECS task to be stuck in the PENDING state include the following: The Docker daemon is...
Read more >Troubleshooting Kubernetes Pods: Stuck in a "Pending" State
If your pods are stuck in pending state, you may need to do some quick troubleshooting. Here are the steps to follow to...
Read more >Pod Stuck in Pending State – Runbooks - GitHub Pages
Detailed Steps · 1) Gather information · 2) Examine pod Events output. · 3) Check the kubelet logs · 4) Is this a...
Read more >Pipeline stuck in "pending" state · Issue #6615 - GitHub
We have a pipeline which has a full pipeline in pending state. Steps to reproduce. Hardly possible to deterministically reproduce unfortunately.
Read more >Process stuck in pending state | Blue Prism Product
I have a process scheduled to run every 5 mins, however, every once in a while it gets stuck in the pending state...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
@albers see https://github.com/dockersamples/docker-swarm-visualizer/pull/103#issuecomment-354656984