Unable to (re)add etcd node to cluster

Hi everyone,

I had an etcd failure on a 3 node Rancher 2.6 setup. Since the failure was data corruption, I decided to remove the node from the cluster, and try to add it again.
For this I’ve done the following:

  1. stopped the rke2 server job
  2. deleted all data in the etcd data folder
  3. ran etcdtl member remove on one of the remaining nodes.

Now, I’ve tried to change the etcd config file to point to the existing cluster, but everytime I’m starting the rke2 server service, it’s changin the file to inistial-cluster-state=new, regardless of what I’m doing.
Could anyone tell me how the member should be added to the cluster?

Thank you,
Razvan