On 03.03.2020 13:45, jorgeeflorez . wrote:
Hi,
I am having some problems starting a node store in a server. I am getting:
DocumentStoreException: Configured cluster node id 123 already in use:
needs recovery and machineId/instanceId do not match:
mac:02421b0c73d3//home/ec2-user != mac:0242a5c0c5e5//home/ec2-user

I read the code from class ClusterNodeInfo and I see that, the algorithm
uses the lowest mac address found in the machine. The problem is that in
the server there is a "docker0" interface (I don't know what for), and that
interface's mac address always changes (always being the lowest).
For example (after using ifconfig -a):

docker0   Link encap:Ethernet  HWaddr 02:42:C5:C3:C5:E5

eth0      Link encap:Ethernet  HWaddr 06:C5:FB:D5:C2:C0

lo        Link encap:Local Loopback

Does anyone see alternatives other than disabling the lease check or
"uninstalling" docker0?

Thanks.

Jorge.

a) What Oak version are you on?

b) Is Oak running *inside* docker?

c) We've seen similar issues in the past
(https://issues.apache.org/jira/browse/OAK-3885), but not with Docker.
Maybe we should add yet another special case...

Best regards, Julian

Reply via email to