Docker Swarm Cluster Issue

Hi

I am creating a Swarm Cluster using the document mentioned below :

I am using CentOS 7

uname -a

Linux host-192-168-111-8 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 17:03:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

The only difference is that I am deploying it on OpenStack instances and installing docker using ‘yum’.

The issue I am facing is that the nodes that join the Swarm cluster are permanently in pending state.

docker -H :4000 info Thu Apr 28 09:55:36 2016

Containers: 0
Images: 0
Server Version: swarm/1.2.0
Role: primary
Strategy: spread
Filters: health, port, dependency, affinity, constraint
Nodes: 2
(unknown): 192.168.111.7:2375
└ Status: Pending
└ Containers: 0
└ Reserved CPUs: 0 / 0
└ Reserved Memory: 0 B / 0 B
└ Labels:
└ Error: (none)
└ UpdatedAt: 2016-04-28T04:00:54Z
└ ServerVersion:
(unknown): 192.168.111.8:2375
└ Status: Pending
└ Containers: 0
└ Reserved CPUs: 0 / 0
└ Reserved Memory: 0 B / 0 B
└ Labels:
└ Error: (none)
└ UpdatedAt: 2016-04-28T04:01:13Z
└ ServerVersion:
Kernel Version: 3.10.0-327.10.1.el7.x86_64
Operating System: linux
CPUs: 0
Total Memory: 0 B
Name: 9eee48b8980f

Please let me know where to look for logs so that I can troubleshoot this issue or anything that the document says has changed.

Thanks in Advance
Varun

Tested on Ubuntu 14

Use the Docker image “swarm”.

Run the following docker run command to install Docker Swarm.

sudo docker run --rm swarm create

Hey

I request you to explain on which node should I run the command (Primary Swarm node) ?
Also if you can point me to any document it would be very helpful.

I am sorry I am new to docker swarm deployment.

Thanks
Varun

Has the single node deployment of Swarm cluster been tested using the Docker image?