I’m trying to setup a 3 node Consul/Nomad cluster using LXD containers - node1 is a Consul and Nomad server, nodes 2 and 3 are Consul and Nomad clients.
Node 2 registers. However I can’t get node 3 to register. DEBUG log message is:
[ERROR] client: error registering: error=“rpc error: node secret ID does not match. Not registering node.”
To the best of my knowledge, node 2 and 3 are configured (except for ip addresses) identically. ACL is not turned on as is Vault integration.
I have deleted and re-initialized the cluster several times with no change in behavior.
I did see a post on shutting down the node, and running hitting the GC API point, which did not work.
Consul shows all 3 nodes as registered.
Would appreciate any help!
I modified the client.hcl for the client reporting the problem and changing no_host_uuid from false to true. This appears to have solved the secret id not matching error.
But I find it bizarre that this setting is needed on one container, but not the other.
Any insight would be much appreciated - I dislike “magic” settings.