migration problem after add new node

informant

Renowned Member
Jan 31, 2012
793
10
83
Hi all, i have add a new node to existing cluster with other nodes, i can connect from both sides with ssh nodename and ssh node-ip without password question and ping to host are with correct ip, but if i would migrade a vm to other, i get error message:

2019-01-08 23:27:29 # /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=andromeda' root@217.99.100.65 /bin/true
2019-01-08 23:27:29 Host key verification failed.
2019-01-08 23:27:29 ERROR: migration aborted (duration 00:00:01): Can't connect to destination address using public key
TASK ERROR: migration aborted

i have restart corosync, check corosync conf and make pvecm updatecerts on cluster and node, buit same error. can you help? best regards
 
Last edited:
try:
Code:
/usr/bin/ssh -e none -o 'HostKeyAlias=andromeda' root@217.99.100.65 /bin/true

to connect from the other node and post if there are any error messages
 
hi, if i use command on a existing old node i get following response:
/usr/bin/ssh -e none -o 'HostKeyAlias=andromeda' root@217.99.100.65 /bin/true
Warning: Permanently added the RSA host key for IP address '[217.99.100.65]:21739' to the list of known hosts.
normal add also^^ i mean.
regards
 
but that means it was not known before, so now it should work?
 
hi the command i have do on a other node, not on node that not work. i have understand you mean i must use command on other node on which is vm and i would migrate to new node. here comes:

/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=andromeda' root@217.99.100.65 /bin/true
Host key verification failed.
 
please without the '-o batchmode=yes' part
 
ah nice to know,
/usr/bin/ssh -e none -o 'HostKeyAlias=andromeda' root@217.99.100.65 /bin/true
Warning: the RSA host key for 'andromeda' differs from the key for the IP address '[217.99.100.65]:21739'
Offending key for IP in /root/.ssh/known_hosts:8
Matching host key in /etc/ssh/ssh_known_hosts:17
whats next step? well migration not working!
 
Last edited:
it seems there is already a different host key for that ip address, if you sure this is correct, you can remove that from known_hosts
 
very cool, i have clean line 8 and 17 and add again, after it works, very thanks for your help.... best regards