Hello
How can we fixed this error from a cluster? It comes in loop and loop and loop
2018-03-26 22:48:24 # /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=HV1' root@10.20.1.15 /bin/true
2018-03-26 22:48:24 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2018-03-26 22:48:24 @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
2018-03-26 22:48:24 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2018-03-26 22:48:24 IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
2018-03-26 22:48:24 Someone could be eavesdropping on you right now (man-in-the-middle attack)!
2018-03-26 22:48:24 It is also possible that a host key has just been changed.
2018-03-26 22:48:24 The fingerprint for the RSA key sent by the remote host is
2018-03-26 22:48:24 SHA256:dm8ZRwadi5u48jeT44EoDQUvhM9uLnbq19c6ZfQzdbQ.
2018-03-26 22:48:24 Please contact your system administrator.
2018-03-26 22:48:24 Add correct host key in /root/.ssh/known_hosts to get rid of this message.
2018-03-26 22:48:24 Offending RSA key in /etc/ssh/ssh_known_hosts:12
2018-03-26 22:48:24 remove with:
2018-03-26 22:48:24 ssh-keygen -f "/etc/ssh/ssh_known_hosts" -R hv1
2018-03-26 22:48:24 RSA host key for hv1 has changed and you have requested strict checking.
2018-03-26 22:48:24 Host key verification failed.
2018-03-26 22:48:24 ERROR: migration aborted (duration 00:00:00): Can't connect to destination address using public key
TASK ERROR: migration aborted
Background: Installed 4 HV nodes, 2 dead, and now all 4 nodes cannot migrated to each other due to delnode and reinstall
Tried all not working
echo > /root/.ssh/known_hosts
echo > /etc/ssh/ssh_known_hosts
(in each HV node)
mv /root/.ssh/known_hosts /root/.ssh/known_hosts.bad
systemctl restart pve-cluster
pvecm add 10.20.1.11 -f (re-add to master)
pvecm updatecerts
Eventhough ssh to node ok, it still comes back this error
Would you please help me out of this loop please?
How can we fixed this error from a cluster? It comes in loop and loop and loop
2018-03-26 22:48:24 # /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=HV1' root@10.20.1.15 /bin/true
2018-03-26 22:48:24 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2018-03-26 22:48:24 @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
2018-03-26 22:48:24 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2018-03-26 22:48:24 IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
2018-03-26 22:48:24 Someone could be eavesdropping on you right now (man-in-the-middle attack)!
2018-03-26 22:48:24 It is also possible that a host key has just been changed.
2018-03-26 22:48:24 The fingerprint for the RSA key sent by the remote host is
2018-03-26 22:48:24 SHA256:dm8ZRwadi5u48jeT44EoDQUvhM9uLnbq19c6ZfQzdbQ.
2018-03-26 22:48:24 Please contact your system administrator.
2018-03-26 22:48:24 Add correct host key in /root/.ssh/known_hosts to get rid of this message.
2018-03-26 22:48:24 Offending RSA key in /etc/ssh/ssh_known_hosts:12
2018-03-26 22:48:24 remove with:
2018-03-26 22:48:24 ssh-keygen -f "/etc/ssh/ssh_known_hosts" -R hv1
2018-03-26 22:48:24 RSA host key for hv1 has changed and you have requested strict checking.
2018-03-26 22:48:24 Host key verification failed.
2018-03-26 22:48:24 ERROR: migration aborted (duration 00:00:00): Can't connect to destination address using public key
TASK ERROR: migration aborted
Background: Installed 4 HV nodes, 2 dead, and now all 4 nodes cannot migrated to each other due to delnode and reinstall
Tried all not working
echo > /root/.ssh/known_hosts
echo > /etc/ssh/ssh_known_hosts
(in each HV node)
mv /root/.ssh/known_hosts /root/.ssh/known_hosts.bad
systemctl restart pve-cluster
pvecm add 10.20.1.11 -f (re-add to master)
pvecm updatecerts
Eventhough ssh to node ok, it still comes back this error
Would you please help me out of this loop please?