Hello guys,
I have a problem with my Qdevice. If I type "pvemc status", my first node give the following result:
It seems normal. But the second node returns the following
The Qdevice is not voting for the Server
The node and the pi are in the same network.
What I have found is, that corosync-qdevice.service on node 2 run into an error.
Is there a way to fix this problem?
I have look around for many hours, but I didn't find the solution.
Can you help me?
Tanks
I have a problem with my Qdevice. If I type "pvemc status", my first node give the following result:
Code:
root@pve1:~# pvecm status
Cluster information
-------------------
Name: server
Config Version: 7
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Sat Feb 27 00:16:05 2021
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000001
Ring ID: 1.42
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.10.10.1 (local)
0x00000002 1 NA,NV,NMW 10.10.10.2
0x00000000 1 Qdevice
root@pve1:~#
It seems normal. But the second node returns the following
Code:
root@pve2:~# pvecm status
Cluster information
-------------------
Name: server
Config Version: 7
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Sat Feb 27 00:16:13 2021
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000002
Ring ID: 1.42
Quorate: Yes
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.10.10.1
0x00000002 1 NA,NV,NMW 10.10.10.2 (local)
0x00000000 0 Qdevice (votes 1)
root@pve2:~#
The Qdevice is not voting for the Server
The node and the pi are in the same network.
Code:
root@pve2:~# ping 10.10.10.99
PING 10.10.10.99 (10.10.10.99) 56(84) bytes of data.
64 bytes from 10.10.10.99: icmp_seq=1 ttl=64 time=0.883 ms
Code:
root@raspberrypi:~# ping 10.10.10.2
PING 10.10.10.2 (10.10.10.2) 56(84) bytes of data.
64 bytes from 10.10.10.2: icmp_seq=1 ttl=64 time=0.487 ms
What I have found is, that corosync-qdevice.service on node 2 run into an error.
Code:
root@pve2:~# systemctl start corosync-qdevice.service
Job for corosync-qdevice.service failed because the control process exited with error code.
See "systemctl status corosync-qdevice.service" and "journalctl -xe" for details.
Code:
root@pve2:~# systemctl status corosync-qdevice.service
● corosync-qdevice.service - Corosync Qdevice daemon
Loaded: loaded (/lib/systemd/system/corosync-qdevice.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2021-02-27 00:26:14 CET; 1min 25s ago
Docs: man:corosync-qdevice
Process: 676324 ExecStart=/usr/sbin/corosync-qdevice -f $COROSYNC_QDEVICE_OPTIONS (code=exited, status=1/FAILURE)
Main PID: 676324 (code=exited, status=1/FAILURE)
Feb 27 00:26:14 pve2 systemd[1]: Starting Corosync Qdevice daemon...
Feb 27 00:26:14 pve2 corosync-qdevice[676324]: Can't init nss (-8174): security library: bad database.
Feb 27 00:26:14 pve2 systemd[1]: corosync-qdevice.service: Main process exited, code=exited, status=1/FAILURE
Feb 27 00:26:14 pve2 systemd[1]: corosync-qdevice.service: Failed with result 'exit-code'.
Feb 27 00:26:14 pve2 systemd[1]: Failed to start Corosync Qdevice daemon.
Code:
-- A start job for unit corosync-qdevice.service has begun execution.
--
-- The job identifier is 288886.
Feb 27 00:28:42 pve2 corosync-qdevice[677667]: Can't init nss (-8174): security library: bad database.
Feb 27 00:28:42 pve2 systemd[1]: corosync-qdevice.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit corosync-qdevice.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Feb 27 00:28:42 pve2 systemd[1]: corosync-qdevice.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit corosync-qdevice.service has entered the 'failed' state with result 'exit-code'.
Feb 27 00:28:42 pve2 systemd[1]: Failed to start Corosync Qdevice daemon.
-- Subject: A start job for unit corosync-qdevice.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit corosync-qdevice.service has finished with a failure.
--
-- The job identifier is 288886 and the job result is failed.
Is there a way to fix this problem?
I have look around for many hours, but I didn't find the solution.
Can you help me?
Tanks