Some repositories sync got happened the Error on RHUI4

Solution In Progress - Updated -

Environment

  • Red Hat Update Infrastructure 4

Issue

  • Repositories are in Error status after syncing them

Resolution

Cli Steps

  1. Backup .pem file under /etc/pki/rhui/redhat/
  2. Execute /usr/bin/rhui-subscription-sync
  3. Confirm there exists .pem file under /etc/pki/rhui/redhat/
  4. Execute the steps listed in Synchronizing an individual repository immediately

Alternative GUI steps

  1. Deleting a repository from RHUI 4.
  2. Adding a new Red Hat content repository.
  3. Synchronizing an individual repository immediately.

Diagnostic Steps

  1. Confirm Repository sync status by using rhui-manager s(synchronization status and scheduling) -> dr(display repo sync summary) command.
-= Repository Summary Synchronization Status =-
...
(updated every 5 seconds, ctrl+c to exit)

Last Sync                    Last Result
-------------------------------------------------
...
Red Hat Enterprise Linux 9 for x86_64 - AppStream from RHUI (Debug RPMs) (9)
  2022-12-11 22:00:07          Error

Red Hat Enterprise Linux 9 for x86_64 - AppStream from RHUI (RPMs) (9)
  2022-12-11 02:50:05          Success

Red Hat Enterprise Linux 9 for x86_64 - BaseOS from RHUI (Debug RPMs) (9)
  2022-12-11 22:10:18          Success

Red Hat Enterprise Linux 9 for x86_64 - BaseOS from RHUI (RPMs) (9)
  2022-12-11 03:15:11          Success

Red Hat Enterprise Linux 9 for x86_64 - High Availability (Debug RPMs) from RHUI (9)
  2022-12-11 22:04:09          Error

Red Hat Enterprise Linux 9 for x86_64 - High Availability (RPMs) from RHUI (9)
  2022-12-11 21:59:01          Error
  1. Certification Expiration Check
rhui-manager_status
Red Hat Enterprise Linux 9 for x86_64 - AppStream from RHUI (Debug RPMs) (9) .............. ERROR
...
Red Hat Enterprise Linux 9 for x86_64 - High Availability (Debug RPMs) from RHUI (9) ...... ERROR
...

Entitlement CA certificate
Entitlement CA certificate expiration date = 2122-08-13T04:26:58Z ......................... OK
  1. Confirm whether rhui-subscription-sync.conf is correctly configured or not
rhui-subscription-sync.conf
[auth]
username = admin
password = xxxxx
https://access.redhat.com/documentation/en-us/red_hat_update_infrastructure/4/html-single/configuring_and_managing_red_hat_update_infrastructure/index

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