Docker Community Forums

Share and learn in the Docker community.

Docker Swarm nodes stay "Pending"

I’ve more or less followed https://docs.docker.com/swarm/install-manual/

I have 4 Centos 7 VMs running on VMware, installed Engine on each node at version 1.12.3, build 6b644ec, verified the install by running the hello-world container. Where I later spun up the swarm manager I also spun up consul in a container; specifically, progrium/consul:latest.

I spun up a manager like so:

docker run -d -p 4000:4000 swarm manage -H :4000 --replication --advertise 10.205.45.208:4000 consul://10.205.45.208:8500

And then on each node:

docker run -d swarm join --advertise=[ip of node. you can see em below]:2375 consul://10.205.45.208:8500

When I get information about the manager and nodes in the cluster via:

docker -H 10.205.45.208:4000 info

it returns:

Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: swarm/1.2.5
Role: primary
Strategy: spread
Filters: health, port, containerslots, dependency, affinity, constraint
Nodes: 3
 (unknown): 10.205.45.209:2375
  └ ID:
  └ Status: Pending
  └ Containers: 0
  └ Reserved CPUs: 0 / 0
  └ Reserved Memory: 0 B / 0 B
  └ Labels:
  └ UpdatedAt: 2016-12-02T23:28:56Z
  └ ServerVersion:
 (unknown): 10.206.119.129:2375
  └ ID:
  └ Status: Pending
  └ Containers: 0
  └ Reserved CPUs: 0 / 0
  └ Reserved Memory: 0 B / 0 B
  └ Labels:
  └ UpdatedAt: 2016-12-02T23:30:34Z
  └ ServerVersion:
 (unknown): 10.206.119.128:2375
  └ ID:
  └ Status: Pending
  └ Containers: 0
  └ Reserved CPUs: 0 / 0
  └ Reserved Memory: 0 B / 0 B
  └ Labels:
  └ UpdatedAt: 2016-12-02T23:37:08Z
  └ ServerVersion:
Plugins:
 Volume:
 Network:
Swarm:
 NodeID:
 Is Manager: false
 Node Address:
Security Options:
Kernel Version: 3.10.0-327.28.3.el7.x86_64
Operating System: linux
Architecture: amd64
CPUs: 0
Total Memory: 0 B
Name: 32d5f9cd2ba0
Docker Root Dir:
Debug Mode (client): false
Debug Mode (server): false
WARNING: No kernel memory limit support

All the nodes are marked “Pending” status, and remain there…

Checking consul’s key-value store, all the nodes are are there.

I’m at a loss. Any thoughts?

Hi @nemonik

I’ve just started with docker swarm, so I may be way off the mark here, but here goes.

I found that link you refer to, and followed some other instructions in the docs with 1.12 and had some issues.

I then did some more digging and found this

Sorry, i know it wont solve your current problem but once I’d found those other docs it all became a little easier for me.

Hope it helps

Thanks @vanderkerkoff I followed these exact directions earlier for what I thought was a non-production swarm and they worked perfectly, but then followed these other directions for a production swarm. But the documentation seemed dorked (i.e., not consistent wit the rest fo the documentation.) I think I’ll stick with what works. Appreciate it.