GPG Verification Failure for CloudWatch Agent on RHEL 8 #1277
Labels
area/build
Build and release binary/docker image
os/linux
Linux amd64 & arm64
Stale
status/investigate
Describe the bug
The problem arises when attempting to install the CloudWatch agent on RHEL 8 using Ansible. The GPG verification for the agent fails, preventing successful installation, even after importing the GPG key.
Steps to reproduce
ansible.builtin.rpm_key
.ansible.builtin.dnf
.What did you expect to see?
The CloudWatch agent should be installed successfully, verified by the GPG key already imported to the RPM using the module
ansible.builtin.rpm_key
.What did you see instead?
The installation fails with the following error message when trying to install using the
ansible.builtin.dnf
module:What version did you use?
Version: 1.300041.0b681
Environment
OS: Red Hat Enterprise Linux 8
Additional context
Following the AWS documentation, it appears that the installer does not match the GPG key imported. Since the GPG verification fails, the installation cannot proceed. This issue persists even after downloading the latest version of the agent and importing the GPG key as mentioned in the documentation.
From the details provided below, it looks like the amazon-ssm-agent package is signed correctly, but the amazon-cloudwatch-agent package is not signed at all:
The text was updated successfully, but these errors were encountered: