Hi forum.
I'm setting up a 4 node cluster using a qdevice. Installation and setup went well, I setup firewall and some storages ... just to realize I have to reinstall all 4 nodes again because my provider does not installs ZFS by default.
So, by doing a rolling reinstall I'm successfully switching the cluster to ZFS quite easily... so far so good .... then I recall about qdevice setup... I forget about it completelly!
Now, the situation is somehow a mess:
I tried to remove the qdevice ... but it failed during the process
I tried to re-add the qdevice just in case but it fails too.
Now corosync-qdevice runs on two nodes, but fails to start on the other two...
the command 'pvecm qdevice remove' yields:
but pvecm status reads:
Installing but fails too:
How could I 'reset' the situation?
I was thinking on following the advice of deleting /etc/corosync/qnetd/nssdb ... but I'm starting to fear screwing the whole corosync-cluster thing doing that kind of things ...so better ask before more shooting... is that the solution?
Ideally I would like to get rid of the qdevice completely and setup it again after all nodes are ready to go.
Thank you very much in advance.
Best regards.
I'm setting up a 4 node cluster using a qdevice. Installation and setup went well, I setup firewall and some storages ... just to realize I have to reinstall all 4 nodes again because my provider does not installs ZFS by default.
So, by doing a rolling reinstall I'm successfully switching the cluster to ZFS quite easily... so far so good .... then I recall about qdevice setup... I forget about it completelly!
Now, the situation is somehow a mess:
I tried to remove the qdevice ... but it failed during the process
I tried to re-add the qdevice just in case but it fails too.
Now corosync-qdevice runs on two nodes, but fails to start on the other two...
the command 'pvecm qdevice remove' yields:
error during cfs-locked 'file-corosync_conf' operation: No QDevice configured!
but pvecm status reads:
Votequorum information
----------------------
Expected votes: 4
Highest expected: 4
Total votes: 4
Quorum: 3
Flags: Quorate Qdevice
Membership information
----------------------
Nodeid Votes Qdevice Name
0x00000001 1 NA,NV,NMW -Deleted for privacy-
0x00000002 1 NA,NV,NMW -Deleted for privacy-
0x00000003 1 NA,NV,NMW -Deleted for privacy-
0x00000004 1 NA,NV,NMW -Deleted for privacy- (local)
0x00000000 0 Qdevice (votes 0)
Installing but fails too:
pvecm qdevice setup -Deleted for privacy-
/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"
/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/bin/ssh-copy-id: WARNING: All keys were skipped because they already exist on the remote system.
(if you think this is a mistake, you may want to use -f option)
INFO: initializing qnetd server
Certificate database (/etc/corosync/qnetd/nssdb) already exists. Delete it to initialize new db
INFO: copying CA cert and initializing on all nodes
Certificate database already exists. Delete it to continue
Certificate database already exists. Delete it to continue
Host key verification failed.
Certificate database already exists. Delete it to continue
INFO: generating cert request
Certificate database doesn't exists. Use /sbin/corosync-qdevice-net-certutil -i to create it
command 'corosync-qdevice-net-certutil -r -n iccbroadcast' failed: exit code 1
How could I 'reset' the situation?
I was thinking on following the advice of deleting /etc/corosync/qnetd/nssdb ... but I'm starting to fear screwing the whole corosync-cluster thing doing that kind of things ...so better ask before more shooting... is that the solution?
Ideally I would like to get rid of the qdevice completely and setup it again after all nodes are ready to go.
Thank you very much in advance.
Best regards.
Last edited: