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?