[SOLVED] Cannot add QDevice message service corosync must be enabled

pigdogza

New Member
Sep 23, 2025
3
0
1
Good day,

I am trying to add a qdevice to a cluster for quorom in a 2 node configuration when I try to add the node everything seems to do what it needs expect at the last step I receive this message:
Code:
INFO: start and enable corosync qdevice daemon on node 'pexpve'...
Synchronizing state of corosync-qdevice.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable corosync-qdevice
insserv: FATAL: service corosync has to be enabled to use service corosync-qdevice
insserv: warning: current start runlevel(s) (empty) of script `corosync-qdevice' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `corosync-qdevice' overrides LSB defaults (0 1 6).
insserv: FATAL: service corosync has to be enabled to use service corosync-qdevice

I did try running
Code:
systemctl enable corosync.service
but I still get the above message
I also tried reseting the cluster and starting from scratch

PVE Version:
Code:
pve-manager/8.4.14/b502d23c55afcba1 (running kernel: 6.8.12-15-pve)

The node is working perfectly in all other aspects
 
Hello,

To avoid split-brain, you need either 3 nodes or an additional QDevice [0]. While it's possible to adjust quorum settings (e.g., lower required votes or assign extra votes to one node), this isn't recommended.

Also, make sure corosync-qdevice is installed on each Proxmox VE node and that the service is actually enabled. Check withsystemctl status corosync.service and see what the output of that is.

[0] https://pve.proxmox.com/wiki/Cluster_Manager#pvecm_cluster_requirements
 
Good day,

As I mentioned I am trying to add the QDevice to prevent split-brain situations. The 2 nodes are working fine in the cluster and the qdevice is working on node2, on node1 when I try to activate the qdevice I get the above error message that says corosync has to be enabled. Because of this node1 does not receive a vote from the qdevice.

systemctl status corosync.service shows it is running and active

Bash:
● corosync.service - Corosync Cluster Engine
     Loaded: loaded (/lib/systemd/system/corosync.service; enabled; preset: enabled)
     Active: active (running) since Tue 2025-09-23 20:48:22 SAST; 1 day 10h ago
       Docs: man:corosync
             man:corosync.conf
             man:corosync_overview
   Main PID: 88470 (corosync)
      Tasks: 9 (limit: 153834)
     Memory: 135.8M
        CPU: 16min 26.298s
     CGroup: /system.slice/corosync.service
             └─88470 /usr/sbin/corosync -f
 
Good day,

Thank you I removed /etc/init.d/corosync-qdevice file as suggested by someone else and qdevice is working as expected on all nodes and casting votes as needed.

Bash:
Cluster information
-------------------
Name:             ******
Config Version:   9
Transport:        knet
Secure auth:      on

Quorum information
------------------
Date:             Thu Sep 25 14:14:47 2025
Quorum provider:  corosync_votequorum
Nodes:            2
Node ID:          0x00000001
Ring ID:          1.30
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   3
Highest expected: 3
Total votes:      3
Quorum:           2
Flags:            Quorate Qdevice

Membership information
----------------------
    Nodeid      Votes    Qdevice Name
0x00000001          1    A,V,NMW 10.*.*.* (local)
0x00000002          1    A,V,NMW 10.*.*.*
0x00000000          1            Qdevice

A big thanks to the comminity