I have a problem of enabling consul communication. But maybe before I show the error log I describe the setup.
2 virtual machines (virtualbox) [A => 192.168.100.10, B => 192.168.100.11]
VM_A contains consul-server in lxd container with IP 10.29.17.5
VM_B contains consul-client
Running consul members shows both nodes as alive, but journalctl on VM_B shows me an error:
“consul: “Coordinate.Update” RPC failed to server 10.29.17.5:8300: rpc error getting client: failed to get conn: dial tcp ->10.29.17.5:8300: i/o timeout”
Before I post the configuration can someone show me the simplest possible consul config?
I did also try using iptables redirects, but I would like to understand how to properly setup consul in such multi-vm setup.