Host key error in known_hosts when trying to migrate Vertica node in CA Performance Management (CAPM)

book

Article ID: 37995

calendar_today

Updated On:

Products

CA Infrastructure Management CA Infrastructure Management CA Performance Management - Usage and Administration

Issue/Introduction

When trying to use Vertica copycluster to migrate to a new DR server, the following error stops the process:

 

$ vbr.py --task copycluster --config-file /opt/vertica/config/CopyClusterConfigurationFile.ini

Error: Worker process exited with error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

Someone could be eavesdropping on you right now (man-in-the-middle attack)!

It is also possible that a host key has just been changed.

The fingerprint for the RSA key sent by the remote host is

SHA256:oVzTrRdfTzk3+mB7hp6XOmKzW/KEYO+RMM7dCwEP09k.

Please contact your system administrator.

Add correct host key in /home/dradmin/.ssh/known_hosts to get rid of this message.

Offending RSA key in /home/dradmin/.ssh/known_hosts:1

Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.

Error: forwarding disabled due to host key check failure

Copycluster FAILED.

Environment

DX NetOps 20.2.x and later CAPM

Resolution

Remove the offending key from known_hosts of the DR Admin user (by default: dradmin) with this command:

ssh-keygen -R <IP_ADDRESS_of_TARGET>

For example, if the target DR IP address is 10.20.30.40, then run:

ssh-keygen -R 10.20.30.40