unable to add nodes to cluster control importing galera cluster
I have created clustercontrol user on all the nodes, then I ran
ssh-keygen -t rsa
and then I tested I had this on node 10.8.0.6
$ ls -la /home/clustercontrol/.ssh/id_rsa
-rw------- 1 clustercontrol clustercontrol 1831 Dec 7 00:47 /home/clustercontrol/.ssh/id_rsa
but in the UI when I try to add node, I get this error.
the above node is remote so I tried the same steps on a local galera cluster node but facing the same issue.
-
Hi,
Just to confirm. Did you copy the key to the remote host?
You should run this in your ClusterControl server:
$ ssh-keygen -t rsa
$ ssh-copy-id -i ~/.ssh/id_rsa 10.8.0.6
$ ssh-copy-id -i ~/.ssh/id_rsa 192.168.5.165And repeat the ssh-copy command to all the nodes.
Then, you should be able to access the nodes without using an SSH password:
$ ssh 10.8.0.6
You can check the documentation to setup passwordless SSH access: https://severalnines.com/docs/getting-started.html
Regards,
Sebastian.
Please sign in to leave a comment.
Comments
1 comment