Proxmox and “unable to copy ssh id” error

Xabi
The Sysadmin
Published in
2 min readOct 6, 2015

I have a Proxmox cluster with 2 nodes:

root@proxone:~# clustat
Cluster Status for mycluster @ Tue Oct 6 20:45:16 2015
Member Status: Quorate
Member Name ID Status
— — — — — — — — — —
proxtwo 2 Online
proxone 1 Online, Local

Everything looks good, with no apparent quorum problem:

root@proxone:~# pvecm status
Version: 6.2.0
Config Version: 8
Cluster Name: mycluster
Cluster Id: 7035
Cluster Member: Yes
Cluster Generation: 6900
Membership state: Cluster-Member
Nodes: 2
Expected votes: 2
Total votes: 2
Node votes: 1
Quorum: 2
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: proxone
Node ID: 1
root@proxone:~# pvecm nodes
Node Sts Inc Joined Name
1 M 6900 2015–10–06 14:40:20 proxone
2 M 6892 2015–10–06 14:33:36 proxtwo

But when I try to add a new node to the cluster, I have the following error:

root@proxthree:~# pvecm add proxone.domain.com
root@proxone.domain.com’s password:
unable to copy ssh ID

Hmm, let’s try to do that manually:

root@proxthree:~# ssh-copy-id root@proxone.domain.com
root@proxone.domain.com’s password:
cat: write error: Permission denied

Definitely something is wrong here. People with similar problem confirm my first suspicion. The reason must be a quorum problem; but I can see my cluster quorum is ok. What can I do?

SOLUTION

Restart cman & pve-cluster daemons in the two cluster nodes:

service restart cman
service pve-cluster restart

And now, everything works ok. Don’t ask why :S

--

--