Re-install cluster key

greg

Renowned Member
Apr 6, 2011
140
2
83
Greetings

I have a 2-nodes cluster which was working well for quite a while. This morning, I deleted `/etc/pve/local/pve-ssl.pem` by mistake. I have a backup, but if I try to write this file I get a 'Permission denied' error.

How can I write into this file?

Thanks in advance

Regards
 
I tried to get quorum like that:

pvecm expected 1

but get this error:

Cannot initialize CMAP service

and service pve-cluster status returns active but with errors:

pmxcfs[19604]: [dcdb] crit: cpg_initialize failed: 2
pmxcfs[19604]: [status] crit: cpg_initialize failed: 2
 
I finally got the key back by allowing writing to /etc/pve with:

pmxcfs -l

however, even after a reboot, the node doesn't rejoin the cluster.