Description
The problem occurs on cluster nodes with installed AlmaLinux versions lower than 8.8-3.el8.
An error occurs when adding a node:
Failed to validate GPG signature for qemu-img-40.module_el8.9.0+3554.2.x86_64
This problem is related to AlmaLinux and occurs because the old GPG key is no longer valid. According to the official AlmaLinux documentation, the GPG key works correctly in OS versions higher than 8.8-3.el8. See the official AlmaLinux documentation for details.
Note
We recommend that you periodically update the software packages on the cluster nodes for correct platform operation.
Solution
To solve the problem:
- Connect to the cluster node via SSH.
-
Import an up-to-date GPG key:
rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
-
Perform an OS package upgrade of the host server OS:
dnf update -y
-
Check that the key has been added correctly:
rpm -q gpg-pubkey-ced7258b-6525146f
If the key is added correctly, the response is as follows:
gpg-pubkey-ced7258b-6525146f
If the key is not added:
package gpg-pubkey-ced7258b-6525146f is not installed
- Re-add the node.