Symptoms
The task 'Update LVS configuration on cluster' fails in POA with the SSH authentication error like in the following example:
Task name Update LVS configuration on cluster 42
Task description Updates LVS configuration on load balancer nodes with up-to-date information
Last execution output error running LVSCTL : persisting lvs.cf file on node 192.168.12.24 ...
ssh -o PasswordAuthentication=no -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_rsa_lb root@192.168.12.24 $'mkdir -p "/etc/sysconfig/ha"' returned 255
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-interactive).
For more information refer to: /var/log/lvsctl.log
Cause
POA Management Node fails to establish SSH connection to the server mentioned in the error message (Load Balancer server) via RSA keys.
Resolution
Add content of the
/root/.ssh/id_rsa_lb.pub
file from the POA Management Node to the/root/.ssh/authorized_keys
on the Load Balancer server mentioned in the error message in the failed task.- Check if password-less SSH connection may be established from the POA Management Node to the Load Balancer server.
Important: the public SSH RSA key must be added to the authorized_keys
file on the Load Balancer as single line.