Issue:
Vertica backup fails when backing up a three node cluster. The error seen is :
Host key verification failed.
Traceback (most recent call last):
File "/tmp/vbr/vbr.py", line 2740, in work
remoteClient(args[0], args[1], args[2], args[3], args[4], args[5], args[6] == 'True')
File "/tmp/vbr/vbr.py", line 920, in remoteClient
ssList = subprocess.check_output(g["sshBackup"] + [sHost, cmd])
File "/opt/vertica/oss/python/lib/python2.7/subprocess.py", line 537, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['ssh', '-x', 'xxx.xxx.xxx.xxx', 'ls -1 /opt/CA/backup/v_capm_node0003']' returned non-zero exit status 255
Child processes terminated abnormally.
backup failed!
cleaning up...
Environment:
Performance Management 2.5 and 2.6
Cause:
passwordless ssh is misconfigured
Resolution:
On each node run the following command: cat ~/.ssh/known_hosts
What should be seen is the IP of the node in question along with IP's of other nodes in the cluster and their passwordless ssh key information. In the event that any IP and key information is missing from a known_hosts file on one of the nodes, you can copy it from the known_hosts file on another node. After doing this the backup should run successfully