Raspyberry Pi 2 (Model B)

faisalparkar

New Member
Oct 2, 2023
3
0
1
Hey All,

I hope someone can assist. I have a 2 node cluster with PVE 8.2.2 running on both. I am trying to add a Raspberry Pi 2 Model B as a QDevice and I am running into the following problem. My 2 node cluster is fine but is obviously missing my QDevice.


Code:
root@pve02:~# pvecm qdevice setup 192.168.8.220 -f
/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


node 'pve01': Creating /etc/corosync/qdevice/net/nssdb
password file contains no data
node 'pve01': Creating new key and cert db
node 'pve01': Creating new noise file /etc/corosync/qdevice/net/nssdb/noise.txt
node 'pve01': Importing CAHost key verification failed.


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 pvecluster' failed: exit code 1

I have read through the following posts and can't seem to resolve this and not sure where I have gone wrong.


https://forum.proxmox.com/threads/qdevice-setup-still-harder-than-necessary.102436/

Any or all assistance is much appreciated.
 
Last edited:
Just as another note, both my PVE nodes are showing their corosyn-qdevice service as failed.


Code:
root@pve02:~# systemctl status corosync-qdevice.service
× corosync-qdevice.service - Corosync Qdevice daemon
     Loaded: loaded (/lib/systemd/system/corosync-qdevice.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Wed 2024-12-04 21:40:37 GMT; 11h ago
       Docs: man:corosync-qdevice
    Process: 80227 ExecStart=/usr/sbin/corosync-qdevice -f $COROSYNC_QDEVICE_OPTIONS (code=exited, status=1/FAILURE)
   Main PID: 80227 (code=exited, status=1/FAILURE)
        CPU: 9ms


Dec 04 21:40:37 pve02 systemd[1]: corosync-qdevice.service: Scheduled restart job, restart counter is at 5.
Dec 04 21:40:37 pve02 systemd[1]: Stopped corosync-qdevice.service - Corosync Qdevice daemon.
Dec 04 21:40:37 pve02 systemd[1]: corosync-qdevice.service: Start request repeated too quickly.
Dec 04 21:40:37 pve02 systemd[1]: corosync-qdevice.service: Failed with result 'exit-code'.
Dec 04 21:40:37 pve02 systemd[1]: Failed to start corosync-qdevice.service - Corosync Qdevice daemon.
Dec 04 21:40:45 pve02 systemd[1]: corosync-qdevice.service: Start request repeated too quickly.
Dec 04 21:40:45 pve02 systemd[1]: corosync-qdevice.service: Failed with result 'exit-code'.
Dec 04 21:40:45 pve02 systemd[1]: Failed to start corosync-qdevice.service - Corosync Qdevice daemon.


Not sure if this is related.
 
I dont quite know how, this is working for me now.

I redeployed my Raspberry Pi QDevice with an older version of OS (Raspbian GNU/Linux 11 (bullseye)).

Also ran through this:


POW!! Its working!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!