Hi,
I'm having some trouble setting up the qdevice following the documentation [1]
I've logged onto the PVE nodes and tried to run the systemctl enable command and both of them fail. Not sure if there's a new requirement or something I missed.
[1] https://pve.proxmox.com/wiki/Cluster_Manager
I'm having some trouble setting up the qdevice following the documentation [1]
Code:
# pvecm qdevice setup 172.16.0.69 -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 'VE-H310': Creating /etc/corosync/qdevice/net/nssdb
password file contains no data
node 'VE-H310': Creating new key and cert db
node 'VE-H310': Creating new noise file /etc/corosync/qdevice/net/nssdb/noise.txt
node 'VE-H310': Importing CA
node 'VE-SSD': Creating /etc/corosync/qdevice/net/nssdb
password file contains no data
node 'VE-SSD': Creating new key and cert db
node 'VE-SSD': Creating new noise file /etc/corosync/qdevice/net/nssdb/noise.txt
node 'VE-SSD': Importing CA
INFO: generating cert request
Creating new certificate request
Generating key. This may take a few moments...
Certificate request stored in /etc/corosync/qdevice/net/nssdb/qdevice-net-node.crq
INFO: copying exported cert request to qnetd server
INFO: sign and export cluster cert
Signing cluster certificate
Certificate stored in /etc/corosync/qnetd/nssdb/cluster-LAX.crt
INFO: copy exported CRT
INFO: import certificate
Importing signed cluster certificate
Notice: Trust flag u is set automatically if the private key is present.
pk12util: PKCS12 EXPORT SUCCESSFUL
Certificate stored in /etc/corosync/qdevice/net/nssdb/qdevice-net-node.p12
INFO: copy and import pk12 cert to all nodes
node 'VE-H310': Importing cluster certificate and key
node 'VE-H310': pk12util: PKCS12 IMPORT SUCCESSFUL
node 'VE-SSD': Importing cluster certificate and key
node 'VE-SSD': pk12util: PKCS12 IMPORT SUCCESSFUL
INFO: add QDevice to cluster configuration
INFO: start and enable corosync qdevice daemon on node 'VE-H310'...
Synchronizing state of corosync-qdevice.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable corosync-qdevice
update-rc.d: error: corosync-qdevice Default-Start contains no runlevels, aborting.
command 'ssh -o 'BatchMode=yes' -lroot 192.168.255.151 systemctl enable corosync-qdevice' failed: exit code 1
root@VE-SSD:~#
I've logged onto the PVE nodes and tried to run the systemctl enable command and both of them fail. Not sure if there's a new requirement or something I missed.
[1] https://pve.proxmox.com/wiki/Cluster_Manager