Etcd problem server

Hi everyone,

according the demo, i am triying to do a installation in a dedicated servers, not using a virtualbox.
I have 3 cloud servers in AWS, with an Ubuntu 18.04.4 LTS AMI.
When i was creating my etcd server, according the demo-video, and using the instructions, I had this issues with the etcd server
Jun 14 10:40:39 etcd[15278]: couldn’t find local name “master1” in the initial cluster configuration
Jun 14 10:40:39 systemd[1]: etcd.service: Main process exited, code=exited, status=1/FAILURE
Jun 14 10:40:39 systemd[1]: etcd.service: Failed with result ‘exit-code’.

My etcd.service file include this atribute


ExecStart=/usr/local/bin/etcd \
–name master1 \
–cert-file=/etc/etcd/etcd-server.crt \
–key-file=/etc/etcd/etcd-server.key \
–peer-cert-file=/etc/etcd/etcd-server.crt \
–peer-key-file=/etc/etcd/etcd-server.key \
–trusted-ca-file=/etc/etcd/ca.crt \
–peer-trusted-ca-file=/etc/etcd/ca.crt \
–peer-client-cert-auth \
–client-cert-auth \
–initial-advertise-peer-urls https://{INTERNAL_IP}:2380 \\ --listen-peer-urls https://{INTERNAL_IP}:2380 \
–listen-client-urls https://{INTERNAL_IP}:2379, \\ --advertise-client-urls https://{INTERNAL_IP}:2379 \
–initial-cluster-token etcd-cluster-0 \
–initial-cluster master-1=https://${INTERNAL_IP}:2380 \
–initial-cluster-state new \


Shall anybody help me, please?



Hello juanpi,
Each etcd member must have a unique name within an etcd cluster. Set the etcd name to match the hostname of the current compute instance. please check and follow this link