Bug 2079391 - Feature request to provide sync/repo status of each repo in a JSON file for automated monitoring
Summary: Feature request to provide sync/repo status of each repo in a JSON file for a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: RHUA
Version: 4.1.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: 4.5.0
: 4.x
Assignee: RHUI Bug List
QA Contact: Radek Bíba
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-27 13:29 UTC by anujmaurya
Modified: 2023-08-09 14:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-09 14:18:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHUI-263 0 None None None 2022-05-03 18:38:26 UTC
Red Hat Product Errata RHSA-2023:4591 0 None None None 2023-08-09 14:18:04 UTC

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


Note You need to log in before you can comment on or make changes to this bug.