RHEL on AWS can no longer access RHEL repositories

Solution Verified - Updated -

Environment

Red Hat Enterprise Linux on AWS

Issue

The packages rh-amazon-rhui-client and amazon-libdnf-plugin were removed unintentionally, rendering the client unable to access AWS RHUI repositories.

Resolution

Unfortunately these packages are not publicly accessible. Please open a support case with Red Hat to obtain new copies of these packages. In your support case, include the package version previously installed on your client from the command below:

# dnf history rh-amazon-rhui-client amazon-libdnf-plugin

Root Cause

The packages rh-amazon-rhui-client and amazon-libdnf-plugin were removed unintentionally.

Diagnostic Steps

Verify you are unable to access the AWS RHUI repositories and the host name does not include your "REGION" value as seen below:

# yum update
Repository rhel-8-baseos-rhui-rpms is listed more than once in the configuration
Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs)                                                                                                                                          0.0  B/s |   0  B     00:00
Errors during downloading metadata for repository 'rhel-8-appstream-rhui-rpms':
  - Curl error (6): Couldn't resolve host name for https://rhui.REGION.aws.ce.redhat.com/pulp/mirror/content/dist/rhel8/rhui/8/x86_64/appstream/os [Could not resolve host: rhui.REGION.aws.ce.redhat.com]
Error: Failed to download metadata for repo 'rhel-8-appstream-rhui-rpms': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://rhui.REGION.aws.ce.redhat.com/pulp/mirror/content/dist/rhel8/rhui/8/x86_64/appstream/os [Could not resolve host: rhui.REGION.aws.ce.redhat.com]

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments