Docker Community Forums

Share and learn in the Docker community.

Multiple own nodes


(Ysilvela) #1

Its possible to have more than one own nodes?
I’m trying to configure a cluster of muy own nodes, but I only configure one.

Thanks


(Bobziuchkovski) #2

We’re hitting this, too. We can’t register more than one node via “Bring Your Own Node”. When we try to register any additional nodes, we see 402 errors in /var/log/dockercloud/agent.log:

$ tail -f /var/log/dockercloud/agent.log
2016/06/03 19:16:20 Checking if config file exists
2016/06/03 19:16:20 Loading Configuration file
2016/06/03 19:16:20 Registering in Docker Cloud via POST: https://cloud.docker.com/api/agent/v1/node/
2016/06/03 19:16:21 Registration failed, 402. Retry in 1 seconds
2016/06/03 19:16:23 Registration failed, 402. Retry in 2 seconds
2016/06/03 19:16:26 Registration failed, 402. Retry in 4 seconds
2016/06/03 19:16:31 Registration failed, 402. Retry in 8 seconds
2016/06/03 19:16:40 Registration failed, 402. Retry in 16 seconds
2016/06/03 19:16:56 Registration failed, 402. Retry in 32 seconds
2016/06/03 19:17:29 Registration failed, 402. Retry in 64 seconds

This is a MAJOR blocker for our adoption of Docker Cloud.


(Soumen) #3

This might help https://gist.github.com/soumentrivedi/82b044f7d075a272ad5f76db73d70815

We register almost 30 nodes daily using this script and tear down after use. We have using this for almost 6 months now (earlier for Tutum and now customised for DockerCloud)

Any queries, please write to us.