Closed RodriMora closed 3 months ago
It's strange, this is how the configuration should be:
https://github.com/vitabaks/postgresql_cluster/blob/master/roles/etcd/templates/etcd.conf.j2
Please provide an archive of your variables and inventory for analysis.
Fixed it. Seems like the hostnames need to be different. I added the hostname in the inventory and now it works:
[etcd_cluster] # recommendation: 3, or 5-7 nodes 192.168.10.189 hostname=etcd1 192.168.10.71 hostname=etcd2 192.168.10.124 hostname=etcd3
It's not there by default, I might submit a PR to add it.
Edit: the servers were cloned to save time and they had the same hostname.
Make sure that the servers have different hostnames. You can specify hostname
variable for each node in the invetory to set a new hostname, it must be unique.
Hi!
I'm having this problem when trying to deploy the etcd cluster:
When running "sudo journalctl -u etcd -n 100 --output=short-precise" in the nodes this is the output:
And this are the IP's in the inventory:
[etcd_cluster] # recommendation: 3, or 5-7 nodes 192.168.10.189 192.168.10.71 192.168.10.124
What could be the cause?