Host key verification failed on migration

informant

Renowned Member
Jan 31, 2012
780
10
83
Hi, i have add a new node to cluster and i have access to this in webinterface. But if i would migrate a server to this new node i get the following error message:

Code:
Mar 13 23:08:12 Host key verification failed.
Mar 13 23:08:12 ERROR: migration aborted (duration 00:00:00): Can't connect to destination address using public key
TASK ERROR: migration aborted

How can i fix it? Please help. Very thanks.

regards
 
Solved with copy following files from cluster to node and add again with --force:

Code:
/etc/pve/nodes/<node>
pve-ssl.key
pve-ssl.pem

/etc/pve/priv/
pve-root-ca.pem

/etc/pve/
pve-root-ca.pem
 
That is probably the wrong fix. Instead you need to fix the /etc/pve/priv/known_hosts file (manually login via ssh to see what key is wrong).
 
Hi dietmar,

thanks for answer. The file known_hosts on node has only one entry after adding. I have test without this entry, same issue. I have test it with the fix on my post, it´s works fine after readding. The key was updatet in the file after my fix. Waht do i check to work 100% correctly @dietmar?

regards
 
Solved with copy following files from cluster to node and add again with --force:

Code:
/etc/pve/nodes/<node>
pve-ssl.key
pve-ssl.pem

/etc/pve/priv/
pve-root-ca.pem

/etc/pve/
pve-root-ca.pem


where is the dest in the node, I meeting the same problem after upgrade from v4.4 to v5.1
ssh work well each node, but can not migrate
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!