Unable to copy ssh ID

Chow

Member
Apr 28, 2008
90
0
6
Followed all the instructions from the Wiki. However when adding a node to the cluster I run into the following error..

pvecm add 192.168.0.1
Generating public/private rsa key pair.
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
ac:a3:2d:77:ef:c4:b2:67:3a:dbT
he key's randomart image is:
+--[ RSA 2048]----+
| |
| |
| oo.oo. |
| .=o++O+o..E |
+-----------------+
unable to copy ssh ID

Multicast is enabled on the switch..
 

Chow

Member
Apr 28, 2008
90
0
6
Yes.. It's the ip of the first node in the cluster..

pvecm status
Version: 6.2.0
Config Version: 1
Cluster Name: cloud
Cluster Id: 3226
Cluster Member: Yes
Cluster Generation: 8
Membership state: Cluster-Member
Nodes: 1
Expected votes: 1
Total votes: 1
Node votes: 1
Quorum: 1
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: eurocloud
Node ID: 1
Multicast addresses: 239.192.12.166
Node addresses: 192.168.0.1
 
Last edited:

stef1777

Member
Jan 31, 2010
178
8
18
Hello. I've the same problem here. I tried to add a node to the cluster and got the message "unable to copy ssh ID".

pve-manager: 2.0-18 (pve-manager/2.0/16283a5a)
running kernel: 2.6.32-6-pve
proxmox-ve-2.6.32: 2.0-55
pve-kernel-2.6.32-6-pve: 2.6.32-55
lvm2: 2.02.88-2pve1
clvm: 2.02.88-2pve1
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-1
libqb: 0.6.0-1
redhat-cluster-pve: 3.1.8-3
pve-cluster: 1.0-17
qemu-server: 2.0-13
pve-firmware: 1.0-14
libpve-common-perl: 1.0-11
libpve-access-control: 1.0-5
libpve-storage-perl: 2.0-9
vncterm: 1.0-2
vzctl: 3.0.29-3pve8
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-1
ksm-control-daemon: 1.1-1
 

stef1777

Member
Jan 31, 2010
178
8
18
Hello, I've found part of the problem.


If I use the shell console in PVE, I got the message. If I use a real ssh connexion to the node, it work.


Seems still some problem.


root@vstest-02:~# pvecm add xxx.xx.98.25
The authenticity of host 'xxx.xx.98.25 (xxx.xx.98.25)' can't be established.
RSA key fingerprint is 96:11:34:5e:09:50:c0:a5:5d:c0:8c:dd:bc:6f:60:24.
Are you sure you want to continue connecting (yes/no)? yes
root@xxx.xx.98.25's password:
copy corosync auth key
stopping pve-cluster service
Stopping pve cluster filesystem: pve-cluster.
backup old database
Starting pve cluster filesystem : pve-cluster.
Starting cluster:
Checking if cluster has been disabled at boot... [ OK ]
Checking Network Manager... [ OK ]
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Starting cman... /usr/share/cluster/cluster.rng:992: element ref: Relax-NG parser error : Reference PVEVM has no matching definition
/usr/share/cluster/cluster.rng:992: element ref: Relax-NG parser error : Internal found no define for ref PVEVM
Relax-NG schema /usr/share/cluster/cluster.rng failed to compile
[ OK ]
Waiting for quorum... [ OK ]
Starting fenced... [ OK ]
Starting dlm_controld... [ OK ]
Unfencing self... [ OK ]
generating node certificates
merge known_hosts file
restart services
Restarting PVE Daemon: pvedaemon.
Restarting web server: apache2 ... waiting .
successfully added node 'vstest-02' to cluster.
 

juan.abreu

New Member
Oct 19, 2012
2
0
1
Saint Martin - Guadeloupe
Hi,

I just have the same issue, It was that one of the host in the cluster didn't have enabled the CMan, you could start it via the web interface, check in each host of the cluster that is active, select the host, after select the service tab and verify if CMan is running. If not running, select CMan and click "Start".

Hope this help.

Bye.
 

juan.abreu

New Member
Oct 19, 2012
2
0
1
Saint Martin - Guadeloupe
Followed all the instructions from the Wiki. However when adding a node to the cluster I run into the following error..

pvecm add 192.168.0.1
Generating public/private rsa key pair.
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
ac:a3:2d:77:ef:c4:b2:67:3a:dbT
he key's randomart image is:
+--[ RSA 2048]----+
| |
| |
| oo.oo. |
| .=o++O+o..E |
+-----------------+
unable to copy ssh ID

Multicast is enabled on the switch..
Hi,

Make sure CMan is running in the others machines in the cluster, I just had the same problem, after start CMan and make the "pvecm add XXX.XXX.XXX.XXX" command the node was added to the clouster.

Hope this help, this is my first post ;).

Regards.
 

blueguy31

New Member
Jun 10, 2016
1
0
1
41
In the case of a cluster, you may have locked your cluster with a bad quorum configuration, resulting with a "read-only" authorized_key in /etc/pve/priv/ !

In command line :
# pvecm expected 1

Your file should be available again in rw mode.

Kind regards,
 

st_Serzhant

New Member
Dec 12, 2017
1
0
1
38
Hi!
I tried to make friends v4.3 and v5.0, but I got the same error. I was helped by the port of sshd change to default (22).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!