Bug 2079391

Summary: Feature request to provide sync/repo status of each repo in a JSON file for automated monitoring
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: anujmaurya
Component: RHUAAssignee: RHUI Bug List <rhui-bugs>
Status: CLOSED ERRATA QA Contact: Radek Bíba <rbiba>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: gtanzill, manikroy, mathapli, mminar, sisatia
Target Milestone: 4.5.0Keywords: Triaged
Target Release: 4.x   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-09 14:18:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description anujmaurya 2022-04-27 13:29:59 UTC
Description of problem:
Providing the ability to get sync/publish status of all the repos enabled in rhui-manager. At present rhui-manager command-line interface requires user action to get sync status of all repos. RHUi-manager status also gives output in a user presentable format. 
We need more information like reponame, repoid, publish status, sync status, date/time of sync/publish, result in a file or JSON/XML so that we can automate the command to get sync/publish status of each repo and monitor it at regular interval. 

Version-Release number of selected component (if applicable):
rhui-tools-4.1.0.6-1.el8ui.noarch
rhui-installer-4.1.0.4-1.el8ui.noarch
rhui-tools-libs-4.1.0.6-1.el8ui.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install RHUI 4
2. login to rhui-manager >> press s>>dr
3. rhui-manager status on command line

Actual results:

getting repo sync status with less details and requires human interaction.

Expected results:
A command or tool to get sync/publish status of each repo in a program readable format so that we can set up monitors on it.

Additional info:

Comment 5 errata-xmlrpc 2023-08-09 14:18:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: RHUI 4.5.0 release - Security, Bug Fixes, and Enhancements), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:4591