Hide Forgot
Description of problem: rhui-manager in RHUI v2 provides 'status' sub command to show the status summary of the whole RHUI system but it seems that rhui-manager does not provide it any more in RHUI v3 Beta 1. It's a kind of regression for many customers depend on that function for daily monitoring and health checks. Version-Release number of selected component (if applicable): RHUI 3.0 Beta.1 How reproducible: Always Steps to Reproduce: 1. run 'rhui-manager status' Actual results: The interactive shell of rhui-manager is started. Expected results: The status overview of the whole RHUI system is shown. Additional info: If it's difficult or takes a long time to implement this into rhui-manager, a kind of script running a bunch of commands (pulp-admin, rhui, etc.) may be enough, for example: ------------------------------------------------------------------------ #! /bin/bash # installed as /usr/sbin/rhui-status or something alike. set -e pulp-admin login -u admin -p <passwd> # cds access for cds in cds_names; do curl --connect-timeout --cacert /etc/pki/rhui/ca.crt --cert /etc/pki/rhui/product/content.crt \ --key /etc/pki/rhui/key.pem https://${cds}/pulp/mirror/content/dist/rhel/rhui/server/.../ # url of a repo. done # cert ... # do. # status of last sync of rpm repos for r in $(pulp-admin rpm repo list --fields id | sed -nr 's/^Id: (.+)/\1/p') do pulp-admin repo history sync --repo-id $r --limit 1 done ------------------------------------------------------------------------
'rhui-manager status' was returned back on Beta2 iso 20161220. Closing with NOTABUG.