Search Engine: Elastic

Article ID: 118777, created on Nov 20, 2013, last review on May 11, 2014

  • Applies to:
  • Operations Automation

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

  1. 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.

  2. 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.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF