Some repositories sync got happened the Error on RHUI4
Environment
- Red Hat Update Infrastructure 4
Issue
- Repositories are in
Errorstatus after syncing them
Resolution
Cli Steps
- Backup
.pemfile under/etc/pki/rhui/redhat/ - Execute
/usr/bin/rhui-subscription-sync - Confirm there exists
.pemfile under/etc/pki/rhui/redhat/ - Execute the steps listed in Synchronizing an individual repository immediately
Alternative GUI steps
Diagnostic Steps
- 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
- 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
- Confirm whether
rhui-subscription-sync.confis 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