corosync-qdevice - security library: bad database

ljhardy

New Member
Mar 8, 2025
15
3
3
I did a clean install of proxmox on my second of two nodes and reinstalled corosync-qdevice. My first node correctly registers the vote from both the second node and the qdevice. I've verified that I can SSH back and forth between the second node and the qdevice. I should note that before the clean install on the second node, the qdevice was registering it's vote properly on all nodes. The newly installed node takes an error when starting corosync-qdevice:

proxmox02 corosync-qdevice[17312]: Can't init nss (-8174): security library: bad database.

Consequently, the second node only sees 2 votes:

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

Membership information
----------------------
Nodeid Votes Qdevice Name
0x00000001 1 A,V,NMW 10.0.0.123
0x00000002 1 NA,NV,NMW 10.0.0.23 (local)
0x00000000 0 Qdevice (votes 1)

Any help correcting this error?

Thanks, Len
 
As per the documentation[0]:

Adding/Deleting Nodes After QDevice Setup​

If you want to add a new node or remove an existing one from a cluster with a QDevice setup, you need to remove the QDevice first. After that, you can add or remove nodes normally. Once you have a cluster with an even node count again, you can set up the QDevice again as described previously.


I would try removing the QDevice and then re-adding it.

[0] https://pve.proxmox.com/wiki/Cluster_Manager#_corosync_external_vote_support
 
  • Like
Reactions: ljhardy