Skip to content

Conversation

vagrawal-newrelic
Copy link
Contributor

@vagrawal-newrelic vagrawal-newrelic commented Mar 10, 2025

This PR addresses the issue of infra agent warnings during the guided install process. The warnings indicate that the GPG key is stored in the legacy trusted.gpg keyring, which is deprecated. The changes ensure that the GPG key is added to the /etc/apt/trusted.gpg.d/ directory and remove any existing keys from the legacy keyring.

Changes Made

  1. Update add_gpg_key Task:
    • Remove the key from the legacy keyring if it exists, suppressing any error messages.
    • Add the key to the /etc/apt/trusted.gpg.d/ directory using gpg --dearmor.

Validation:

Please find details in this

Copy link
Contributor

@shashank-reddy-nr shashank-reddy-nr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good to me.

Copy link
Contributor

@shashank-reddy-nr shashank-reddy-nr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like integration tests are failing, might be due to your changes. As infra ones are failing. Can you please check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants