That doesn't appear to work, it only appears to respond to thessh_known_hosts
file in the nodes directory. Will write my own script to check and update these files.
I've created this batch script to d append the CA public key if it is removed and installed it in the/etc/cron.hourly
folder of one of the nodes.
Bash:#!/bin/bash # Define the directory and the string to search for base_dir="/etc/pve/nodes" search_string="cert-authority" ca_string="your-ca-custom-string" # Find all ssh_known_hosts files in the nodes subdirectories find "$base_dir" -type f -name "ssh_known_hosts" | while read -r file; do # Check if the ssh_known_hosts file contains the CA public key if grep -q "$search_string" "$file"; then echo "CA public key found in $file. Doing nothing." else echo "CA public key not found in $file. Appending CA public key." echo "$ca_string" >> "$file" fi done
Hopefully, this should resolve it for now.
So I did not get a chance to testlab the new version, but at least I found that the official rollout of the new "feature" is for v 8.2:
https://pve.proxmox.com/wiki/Roadmap#Proxmox_VE_8.2
It is under "Improved management for Proxmox VE clusters" and completely misrepresents the the issue in the past having been allegedly caused by "conflicting hostkeys appeared in /root/.ssh/known_hosts" - either the person compiling the notes has no idea (more likely) or the person making the fix had no idea what was to be fixed (less likely).
Most confusingly it states that "For existing clusters, pvecm updatecerts can optionally unmerge the existing /etc/ssh/ssh_known_hosts." - I wonder which was your case, what exactly you had issue with under what circumstances (existing cluster, updated only some nodes, retained some symlinks but not others, etc.).
I noticed this thread popped up soon after the new release came out:
https://forum.proxmox.com/threads/pvecm-qdevice-setup-fails.88681/page-2#post-668408
I suspect you found a new bug, but you would need to file it as such and document it to be reproducible with: 1) upgraded; 2) new install.
I would leave this thread here, for anyone willing to take over, feel free to contribute.