Всем привет!
Это мой первый пост, так что, пожалуйста, будьте снисходительны. Использую Proxmox с версии 2.4, использовал qdevice без проблем, пока не пришлось переустанавливать два узла. Сейчас на 8.2.2, и ни за какие деньги не могу заставить qdevice работать (все настроено на Pi4, даже переустановил его там). Все правильно и на PM тоже. Есть какие-нибудь идеи, прежде чем я окончательно облысею?
Вот логи:
```
pvecm qdevice setup 192.168.68.65
/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"
The authenticity of host '192.168.68.65 (192.168.68.65)' can't be established. ED25519 key fingerprint is SHA256:u4xo847nrpbVZE4d05/pKbs8gBWtB6OE8ZIXpnyaKnE. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
/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: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@192.168.68.65 's password:
Number of key(s) added: 1
Now try logging into the machine, with:
"ssh ' root@192.168.68.65 '" and check to make sure that only the key(s) you wanted were added.
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 'ProxmoxDell': Creating /etc/corosync/qdevice/net/nssdb password file contains no data
node 'ProxmoxDell': Creating new key and cert db
node 'ProxmoxDell': Creating new noise file /etc/corosync/qdevice/net/nssdb/noise.txt
node 'ProxmoxDell': Importing CAHost key verification failed.
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-Olympic-Cluster.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 'ProxmoxDell': Importing cluster certificate and key
node 'ProxmoxDell': pk12util: PKCS12 IMPORT SUCCESSFUL
Host key verification failed.
command 'ssh -o 'BatchMode=yes' -lroot 192.168.68.68 corosync-qdevice-net-certutil -m -c /etc/pve/qdevice-net-node.p12' failed: exit code 255
root@ProxmoxDell:~# pvecm status
Cluster information
-------------------
Name: Olympic-Cluster
Config Version: 2
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Sat Apr 27 14:56:32 2024
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000001
Ring ID: 1.9
Quorate: Yes
Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 2
Quorum: 2
Flags: Quorate
Membership information ----------------------
Nodeid Votes Name
0x00000001 1 192.168.68.67 (local)
0x00000002 1 192.168.68.68
root@ProxmoxDell:~#
```
Если кто-то уже решил эту проблему в 8.X.X, пожалуйста, направьте меня в нужное русло.
Спасибо!
Это мой первый пост, так что, пожалуйста, будьте снисходительны. Использую Proxmox с версии 2.4, использовал qdevice без проблем, пока не пришлось переустанавливать два узла. Сейчас на 8.2.2, и ни за какие деньги не могу заставить qdevice работать (все настроено на Pi4, даже переустановил его там). Все правильно и на PM тоже. Есть какие-нибудь идеи, прежде чем я окончательно облысею?
Вот логи:
```
pvecm qdevice setup 192.168.68.65
/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"
The authenticity of host '192.168.68.65 (192.168.68.65)' can't be established. ED25519 key fingerprint is SHA256:u4xo847nrpbVZE4d05/pKbs8gBWtB6OE8ZIXpnyaKnE. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
/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: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@192.168.68.65 's password:
Number of key(s) added: 1
Now try logging into the machine, with:
"ssh ' root@192.168.68.65 '" and check to make sure that only the key(s) you wanted were added.
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 'ProxmoxDell': Creating /etc/corosync/qdevice/net/nssdb password file contains no data
node 'ProxmoxDell': Creating new key and cert db
node 'ProxmoxDell': Creating new noise file /etc/corosync/qdevice/net/nssdb/noise.txt
node 'ProxmoxDell': Importing CAHost key verification failed.
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-Olympic-Cluster.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 'ProxmoxDell': Importing cluster certificate and key
node 'ProxmoxDell': pk12util: PKCS12 IMPORT SUCCESSFUL
Host key verification failed.
command 'ssh -o 'BatchMode=yes' -lroot 192.168.68.68 corosync-qdevice-net-certutil -m -c /etc/pve/qdevice-net-node.p12' failed: exit code 255
root@ProxmoxDell:~# pvecm status
Cluster information
-------------------
Name: Olympic-Cluster
Config Version: 2
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Sat Apr 27 14:56:32 2024
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000001
Ring ID: 1.9
Quorate: Yes
Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 2
Quorum: 2
Flags: Quorate
Membership information ----------------------
Nodeid Votes Name
0x00000001 1 192.168.68.67 (local)
0x00000002 1 192.168.68.68
root@ProxmoxDell:~#
```
Если кто-то уже решил эту проблему в 8.X.X, пожалуйста, направьте меня в нужное русло.
Спасибо!
