Docker container cannot create mesh mode cluster


#1

Dear guys,

I downloaded version 3.10.1.1 server image,add mesh node in configuration. but it cannot build cluster. docker command is like follows: docker run -d --net=host -v /etc/etc:/etc/aerospike -p 3000:3000 aerospike:3.10.1.1 A node Log: Jan 19 2017 11:09:36 GMT: INFO (hb): (hb.c:8142) Initializing mesh heartbeat socket: 120.0.0.10:3002 Jan 19 2017 11:09:36 GMT: INFO (fabric): (socket.c:705) Started fabric endpoint 0.0.0.0:3001 Jan 19 2017 11:09:36 GMT: INFO (hb): (hb.c:8168) MTU of the network is 1500. Jan 19 2017 11:09:36 GMT: INFO (hb): (socket.c:705) Started mesh heartbeat endpoint 120.0.0.10:3002 Jan 19 2017 11:09:36 GMT: INFO (paxos): (paxos.c:3790) listening for other nodes (max 3000 milliseconds) … Jan 19 2017 11:09:36 GMT: WARNING (cf:socket): (socket.c:760) Error while connecting FD 59: 111 (Connection refused) Jan 19 2017 11:09:36 GMT: WARNING (cf:socket): (socket.c:819) Error while connecting socket to 120.0.0.12:3002 Jan 19 2017 11:09:36 GMT: INFO (hb): (hb.c:7016) Removed self mesh entry with address 120.0.0.11:3002 Jan 19 2017 11:09:37 GMT: WARNING (cf:socket): (socket.c:760) Error while connecting FD 60: 111 (Connection refused) Jan 19 2017 11:09:37 GMT: WARNING (cf:socket): (socket.c:819) Error while connecting socket to 120.0.0.12:3002 Jan 19 2017 11:09:37 GMT: INFO (hb): (hb.c:4772) Found duplicate connections to same node that cannot be resolved with fds 60 59. Choosing at random. Jan 19 2017 11:09:37 GMT: INFO (hb): (hb.c:7016) Removed self mesh entry with address 120.0.0.12:3002 Jan 19 2017 11:09:39 GMT: INFO (paxos): (paxos.c:3807) … no other nodes detected - node will operate as a single-node cluster

B node log:Jan 19 2017 09:22:43 GMT: WARNING (cf:socket): (socket.c:760) Error while connecting FD 59: 111 (Connection refused) Jan 19 2017 09:22:43 GMT: WARNING (cf:socket): (socket.c:819) Error while connecting socket to 120.0.0.12:3002 Jan 19 2017 09:22:43 GMT: WARNING (cf:socket): (socket.c:760) Error while connecting FD 59: 111 (Connection refused) Jan 19 2017 09:22:43 GMT: WARNING (cf:socket): (socket.c:819) Error while connecting socket to 120.0.0.11:3002 Jan 19 2017 09:22:43 GMT: WARNING (cf:socket): (socket.c:760) Error while connecting FD 59: 111 (Connection refused) Jan 19 2017 09:22:43 GMT: WARNING (cf:socket): (socket.c:819) Error while connecting socket to 120.0.0.12:3002

From the logs It looks like TCP connection error.

while I run version 3.9.1.1 .it can build cluster.what is the difference between version 3.10.1.1 and version 3.9.1.1?

Thanks in advance!