[Solved] Editing corosync.conf fail

claudia558

New Member
Mar 19, 2025
2
0
1
hello every1,

I copied /etc/corosync.conf to a safe place where I edited it. But I accidentally increased the line "version" instead of "config_version". It took me some time to realize my failure.

While I was trying to fix my mistake /etc/pve got mounted readonly.

I tried "pvecm expected 1" on a single node, because I expected the former IP change of one Node causing the Problem.
Output:
Cannot initialize CMAP service

systemctl status corosync.service
[MAIN ] parse error in config: This totem parser can only parse version 2 configurations.
[MAIN ] Corosync Cluster Engine exiting with status 8 at main.c:1445.
corosync.service: Main process exited, code=exited, status=8/n/a
corosync.service: Failed with result 'exit-code'.
Failed to start corosync.service - Corosync Cluster Engine.

pveversion
pve-manager/8.3.5/dac3aa88bac3f300 (running kernel: 6.8.12-8-pve)

pvecm status
Cluster information
-------------------
Name: cluster1
Config Version: 5
Transport: knet
Secure auth: on

Cannot initialize CMAP service

How can I mount /etc/pve read/writable on all nodes (3)? So I can undo my wrong modifications?

thanks for helping.
 
Hello,

systemctl stop pve-cluster
pmxcfs -l

now change version back to 2 in /etc/pve/corosync.conf and additionally increase config_version by one

killall pmxcfs
systemctl start pve-cluster
This should fix a single node. You might need to repeat this on other nodes, if they have same issue.
 
  • Like
Reactions: claudia558 and UdoB