remove qdevice when cluster is not quorate

K-P4ul

Member
Jan 28, 2021
11
0
21
Hi,
I'am testing around some cluster failure scenarios. I have an 2+1 Cluster (2 nodes + 1 qdevice). Suppose node 2 and the qdevice are unrecoverable and both need to be newly installed. The problem is that i need to remove the qdevice before i can add the newly installed node 2.
When I try to remove the qdevice with pvecm qdevice remove I get the error: All nodes must be online! Node senshi is offline, aborting.
I tried to set the expected votes to 1 with pvecm expected 1 but the cluster still expects 2 votes to be quorate.
Is there a way to remove the qdevice in this cluster state?

This is the output of pvecm status after i tried to set the expected votes to 1:
Code:
Cluster information
-------------------
Name:             fujin-senshi
Config Version:   5
Transport:        knet
Secure auth:      on

Quorum information
------------------
Date:             Wed Nov  2 16:17:23 2022
Quorum provider:  corosync_votequorum
Nodes:            1
Node ID:          0x00000001
Ring ID:          1.104
Quorate:          No

Votequorum information
----------------------
Expected votes:   2
Highest expected: 2
Total votes:      1
Quorum:           2 Activity blocked
Flags:            Qdevice

Membership information
----------------------
    Nodeid      Votes    Qdevice Name
0x00000001          1   A,NV,NMW 10.255.240.13 (local)
0x00000000          0            Qdevice (votes 1)