Hello
I have a problem migrating VM between 2 servers using ProxMox VE 5.1
I have a cluster of 2 nodes. I want to migrate a VM from one node (called pve3) to the other (called pve5).
I use the UI, right click, option migrate and I got this message:
I executed the ssh line with verbose option and I got this:
I forced this node into the cluster and I had all the kind of problems with some ssh keyalias.
It happened because I have to remove and re join pve5 host to the cluster (a HDD with the OS partition broke). I replace a HDD and reinstalled it using the same name and IP.
I used the option described in https://pve.proxmox.com/wiki/Cluster_Manager#_remove_a_cluster_node and https://pve.proxmox.com/wiki/Cluster_Manager#pvecm_separate_node_without_reinstall
However, it seems that pve3 kept some SSH key somewhere and I cannot find it and remove it.
Now it interferes with the operations on the reinstalled proxmox.
How could this be fixed? I tried removing and rejoining again the node, but it did not work. Should I delete the old pve5 key on pve3 server and re join pve3 host again? Where is this key?
I have a problem migrating VM between 2 servers using ProxMox VE 5.1
I have a cluster of 2 nodes. I want to migrate a VM from one node (called pve3) to the other (called pve5).
I use the UI, right click, option migrate and I got this message:
Task viewer: VM 109 - Migrate (pve3 ---> pve5)
OutputStatus
2017-10-31 18:40:33 # /usr/bin/ssh -o 'BatchMode=yes' -o 'HostKeyAlias=pve5' root@172.17.255.14 /bin/true
2017-10-31 18:40:33 Host key verification failed.
2017-10-31 18:40:33 ERROR: migration aborted (duration 00:00:00): Can't connect to destination address using public key
TASK ERROR: migration aborted
OutputStatus
2017-10-31 18:40:33 # /usr/bin/ssh -o 'BatchMode=yes' -o 'HostKeyAlias=pve5' root@172.17.255.14 /bin/true
2017-10-31 18:40:33 Host key verification failed.
2017-10-31 18:40:33 ERROR: migration aborted (duration 00:00:00): Can't connect to destination address using public key
TASK ERROR: migration aborted
I executed the ssh line with verbose option and I got this:
root@pve3:~# /usr/bin/ssh -v -o 'BatchMode=yes' -o 'HostKeyAlias=pve5' root@172.17.255.14 /bin/true
OpenSSH_7.4p1 Debian-10+deb9u1, OpenSSL 1.0.2l 25 May 2017
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 172.17.255.14 [172.17.255.14] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u1
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4p1 Debian-10+deb9u1
debug1: match: OpenSSH_7.4p1 Debian-10+deb9u1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 172.17.255.14:22 as 'root'
debug1: using hostkeyalias: pve5
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: aes128-ctr MAC: umac-64-etm@openssh.com compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: umac-64-etm@openssh.com compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:EuFxF++xABIsHgQJU6kpgUJDzL+C8RXXjHHG/BBe6t4
debug1: using hostkeyalias: pve5
Host key verification failed.
OpenSSH_7.4p1 Debian-10+deb9u1, OpenSSL 1.0.2l 25 May 2017
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 172.17.255.14 [172.17.255.14] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u1
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4p1 Debian-10+deb9u1
debug1: match: OpenSSH_7.4p1 Debian-10+deb9u1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 172.17.255.14:22 as 'root'
debug1: using hostkeyalias: pve5
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: aes128-ctr MAC: umac-64-etm@openssh.com compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: umac-64-etm@openssh.com compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:EuFxF++xABIsHgQJU6kpgUJDzL+C8RXXjHHG/BBe6t4
debug1: using hostkeyalias: pve5
Host key verification failed.
I forced this node into the cluster and I had all the kind of problems with some ssh keyalias.
It happened because I have to remove and re join pve5 host to the cluster (a HDD with the OS partition broke). I replace a HDD and reinstalled it using the same name and IP.
I used the option described in https://pve.proxmox.com/wiki/Cluster_Manager#_remove_a_cluster_node and https://pve.proxmox.com/wiki/Cluster_Manager#pvecm_separate_node_without_reinstall
However, it seems that pve3 kept some SSH key somewhere and I cannot find it and remove it.
Now it interferes with the operations on the reinstalled proxmox.
How could this be fixed? I tried removing and rejoining again the node, but it did not work. Should I delete the old pve5 key on pve3 server and re join pve3 host again? Where is this key?