Migrations to new node does not work

  • Thread starter Thread starter Chris Rivera
  • Start date Start date
C

Chris Rivera

Guest
When adding this node to the cluster there was an error about the ssh keys not being able to be copied.

Now i have another issue, i cannot migrate to the node

Apr 15 15:21:27 # /usr/bin/ssh -o 'BatchMode=yes' root@**.**.**.* /bin/true
Apr 15 15:21:27 Permission denied (publickey,password).
Apr 15 15:21:27 ERROR: migration aborted (duration 00:00:00): Can't connect to destination address using public key
TASK ERROR: migration aborted
 
When adding this node to the cluster there was an error about the ssh keys not being able to be copied.

Now i have another issue, i cannot migrate to the node

Apr 15 15:21:27 # /usr/bin/ssh -o 'BatchMode=yes' root@**.**.**.* /bin/true
Apr 15 15:21:27 Permission denied (publickey,password).
Apr 15 15:21:27 ERROR: migration aborted (duration 00:00:00): Can't connect to destination address using public key
TASK ERROR: migration aborted
Hi Chris,
look in /etc/pve/priv/authorized_keys - there must the right pub-key for each node. E.G. from your source-node (migration) the content from /root/.ssh/id_rsa.pub must be there (ond only one line for each node/name).

Udo