×![]()
×
×![]()
×
×
Invalid Red Hat Repo Found
Problem:
You receive an error message "Required Red Hat repository information is not available in any repository file within the /etc/yum.repos.d/ directory" while installing the patches or scanning the systems on your network computers using Patch Manager Plus.
Cause:
- The EC agent validates the Red Hat subscription by checking the entitlement certificates' expiry details.
- These entitlement details are derived from the repository (
.repo) files configured on the machine. - The EC agent looks for a valid Red Hat repo that meets all these criteria:
- Only
.repofiles are considered. - Repo name must include "red hat enterprise linux".
- Repo details must include sslclientcert information.
- Beta & debug repositories are excluded.
- If no repository configuration file matches these criteria, then this error occurs.
Resolution:
- Verify the repository configuration filesavailable in /etc/yum.repos.d directory, having entries below:
- Standard Subscription
[rhel-8-for-x86_64-appstream-rpms] name = Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) baseurl = https://cdn.redhat.com/<redacted-url> enabled = 1 gpgcheck = 1 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release sslverify = 1 sslcacert = /etc/rhsm/ca/<ca-cert>.pem sslclientkey = /etc/pki/entitlement/<client-key>.pem sslclientcert = /etc/pki/entitlement/<client-cert>.pem metadata_expire = 86400 enabled_metadata = 1
- RHUI Subscription
[rhel-8-appstream-rhui-rpms] name=Red Hat Enterprise Linux 8 for $basearch - AppStream from RHUI (RPMs) mirrorlist=https://<redacted-url> enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release sslverify=1 sslclientkey=/etc/pki/rhui/<client-key>.key sslclientcert=/etc/pki/rhui/product/<client-cert>.crt sslcacert=/etc/pki/rhui/<ca-cert>.crt
- If you donot have a standard/RHUI subscription or the mentioned criteria are met but you're still seeing this error, please contact support with the following details:
- A zipped archive of your
/etc/yum.repos.d/directory - Subscription details:
- Run
sudo subscription-manager list --available --all >> subscription.txtand share thesubscription.txtfile. - Share the
entitlement.txtfile:- Standard subscription:
sudo rct cat-cert /etc/pki/entitlement/<client-cert>.pem >> entitlement.txt - RHUI subscription:
sudo rct cat-cert /etc/pki/rhui/product/<client-cert>.crt >> entitlement.txt
- Standard subscription:
- Run
sudo subscription-manager statusand share a screenshot - Linux agent logs
- Run
- A zipped archive of your