ADD NODE - unable to copy ssh ID: exit code 1

PeterNew

New Member
Mar 14, 2018
4
0
1
50
Hello,

I received this message:

root@node2:~# pvecm add [name or IP of node]
unable to copy ssh ID: exit code 1

The cluster is ok at the #1 node.

Can you help me?
Regards.

Proxmox 5.1-46
 
Hi,

what error you get when you call.

ssh-copy-id -o HostKeyAlias=<RemoteHostName> <RemoteHostIP>
 
Hello, thanks!

- I tried to add node2 to node1 cluster, and run the command but don't finish the work. Then at node1 web interface I can see node1 and node2 but node2 is stoped, no connection with a cross sign.

- I tried again with a fresh installation of node2, and I see the problem can be don't work 'pvecm status', at first:

root@node2:~# pvecm status
Corosync config '/etc/pve/corosync.conf' does not exist - is this node part of a cluster?
Cannot initialize CMAP service

Regards.
 
- I tried to add node2 to node1 cluster, and run the command but don't finish the work.
This indicates a Network problem.
Please check you network and IP addresses.
 
Yes it must be a network problem.

At a local test environment, it runs perfect on the first try.
Thanks for your help.

Best regards.