Hello,

I'm trying to follow the documentation on ArangoDB website to set cluster 
with docker
(with kubernetes I have no issues and can deploy it easily).

For some odd reason, using simple docker on 3 separate hosts I'm having 
issues.

This is my running script for the agency :
```
docker run -d -p 5001:5001 -e ARANGO_NO_AUTH=1 --name arangodb-agent0 
arangodb/arangodb:3.1.5 arangod --server.endpoint tcp://0.0.0.0:5001 
--server.authentication false --agency.activate true --agency.size 3 
--agency.supervision true --agency.my-address tcp://172.31.7.64:5001 
--database.directory /tmp/agency0
docker run -d -p 5002:5002 -e ARANGO_NO_AUTH=1 --name arangodb-agent1 
arangodb/arangodb:3.1.5 arangod --server.endpoint tcp://0.0.0.0:5002 
--server.authentication false --agency.activate true --agency.size 3 
--agency.supervision true --agency.my-address tcp://172.31.7.69:5002 
--database.directory /tmp/agency1
docker run -d -p 5003:5003 -e ARANGO_NO_AUTH=1 --name arangodb-agent2 
arangodb/arangodb:3.1.5 arangod --server.endpoint tcp://0.0.0.0:5003 
--server.authentication false --agency.activate true --agency.size 3 
--agency.endpoint tcp://172.31.7.64:5001 --agency.endpoint 
tcp://172.31.7.69:5002 --agency.endpoint tcp://172.31.8.181:5003 
--agency.supervision true --agency.my-address tcp://172.31.8.181:5003 
--database.directory /tmp/agency3
```

Each line I run on a separate machine and having the following logs 
(example from one of the machines):
Initializing database...Hang on...
Database initialized...Starting System...
2017-01-31T09:56:50Z [1] INFO ArangoDB 3.1.5 [linux] 64bit, using VPack 
0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.1t  3 May 2016
2017-01-31T09:56:50Z [1] INFO using SSL options: 
SSL_OP_CIPHER_SERVER_PREFERENCE, SSL_OP_TLS_ROLLBACK_BUG
2017-01-31T09:56:50Z [1] INFO file-descriptors (nofiles) hard limit is 
1048576, soft limit is 524288
2017-01-31T09:56:50Z [1] INFO created database directory '/tmp/agency0'.
2017-01-31T09:56:50Z [1] INFO WAL directory '/tmp/agency0/journals' does 
not exist. creating it...
2017-01-31T09:56:50Z [1] INFO JavaScript using startup 
'/usr/share/arangodb3/js', application '/var/lib/arangodb3-apps'
2017-01-31T09:56:53Z [1] INFO In database '_system': No version information 
file found in database directory.
2017-01-31T09:56:53Z [1] INFO In database '_system': Found 14 defined 
task(s), 12 task(s) to run
2017-01-31T09:56:53Z [1] INFO In database '_system': state standalone/init, 
tasks setupGraphs, setupUsers, createUsersIndex, addDefaultUserSystem, 
createModules, createRouting, insertRedirectionsAll, setupAqlFunctions, 
createStatistics, createFrontend, setupQueues, setupJobs
2017-01-31T09:56:53Z [1] INFO In database '_system': init successfully 
finished
2017-01-31T09:56:54Z [1] INFO using endpoint 'http+tcp://0.0.0.0:5001' for 
non-encrypted requests
2017-01-31T09:56:54Z [1] INFO ArangoDB (version 3.1.5 [linux]) is ready for 
business. Have fun!
2017-01-31T09:56:55Z [1] INFO {agency} Entering gossip phase ...
2017-01-31T09:57:01Z [1] INFO {agency} Adding 
9b0725ff-1efe-4ed2-81d7-261d4c65971b(tcp://172.31.8.181:5003) to agent pool
2017-01-31T09:57:01Z [1] INFO {agency} Adding 
6036aa60-f245-450b-a9d1-bd302eef29e2(tcp://172.31.7.69:5002) to agent pool
2017-01-31T09:57:06Z [1] INFO {agency} Agent pool completed. Stopping 
active gossipping. Starting RAFT process.
2017-01-31T09:57:06Z [1] INFO {agency} Estimating RAFT timeouts ...
2017-01-31T09:57:07Z [1] INFO {agency} Auto-adapting RAFT bracket to: 
{1.24, 6.20} seconds
2017-01-31T09:57:07Z [1] INFO {agency} Activating agent.


Shouldn't the agent state that it's active after a while ? (it's like that 
over 30 minutes now)


Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to