Installing local rpm files fail due to GPG verification and missing package signing key
When installing a local rpm file via gitlab_rpm_host_path
, the installation fails with error messages like the following
TASK [common : Install GitLab rpm package] *************************************
fatal: [rat-484304535-gitlab-rails-1]: FAILED! => changed=false
msg: Failed to validate GPG signature for gitlab-ee-14.8.2+rnightly.fips.228557.b472f678-0.el8.x86_64
fatal: [rat-484304535-postgres-1]: FAILED! => changed=false
msg: Failed to validate GPG signature for gitlab-ee-14.8.2+rnightly.fips.228557.b472f678-0.el8.x86_64
fatal: [rat-484304535-postgres-3]: FAILED! => changed=false
msg: Failed to validate GPG signature for gitlab-ee-14.8.2+rnightly.fips.228557.b472f678-0.el8.x86_64
fatal: [rat-484304535-postgres-2]: FAILED! => changed=false
msg: Failed to validate GPG signature for gitlab-ee-14.8.2+rnightly.fips.228557.b472f678-0.el8.x86_64
fatal: [rat-484304535-pgbouncer-1]: FAILED! => changed=false
msg: Failed to validate GPG signature for gitlab-ee-14.8.2+rnightly.fips.228557.b472f678-0.el8.x86_64
fatal: [rat-484304535-consul-1]: FAILED! => changed=false
msg: Failed to validate GPG signature for gitlab-ee-14.8.2+rnightly.fips.228557.b472f678-0.el8.x86_64
fatal: [rat-484304535-consul-3]: FAILED! => changed=false
msg: Failed to validate GPG signature for gitlab-ee-14.8.2+rnightly.fips.228557.b472f678-0.el8.x86_64
fatal: [rat-484304535-consul-2]: FAILED! => changed=false
msg: Failed to validate GPG signature for gitlab-ee-14.8.2+rnightly.fips.228557.b472f678-0.el8.x86_64
This is mostly because of missing the GPG key used to sign packages (not to be confused with the one used to sigh repository metadata, which we already add) in the keyring.