Bug 737693
Summary: | rhui-manager status has an exit code of 0 even if a registered CDS is down. | ||
---|---|---|---|
Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | James Slagle <jslagle> |
Component: | RHUA | Assignee: | James Slagle <jslagle> |
Status: | CLOSED ERRATA | QA Contact: | mkovacik |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0.1 | CC: | igulina, kbidarka, sghai, tsanders |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-03-01 22:06:12 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 746803 |
Description
James Slagle
2011-09-12 21:44:42 UTC
Fixed: commit 51ad565a5ab9c920cbca46705755682f2c6092e0 Author: James Slagle <jslagle> Date: Wed Sep 14 13:11:29 2011 -0400 bz 737610 and bz 737693 Improve rhui-manager status command When a repo sync has failed, or a CDS is down, the exit code from "rhui-manager status" should be non-zero. The exit code is the sum of the number of CDS's that are down and the repo syncs that have failed. set tracker bug. 746803 [root@dhcp201-111 ~]# rhui-manager status Previous authentication credentials could not be found. Logging into the RHUI. If this is the first time using the RHUI, it is recommended to change the user's password in the User Management section of RHUI Tools. RHUI Username: admin RHUI Password: CDS-1_118 ................................................... [ UP ] CDS-1_118 ................................................... [ SUCCESS ] CDS-2_134 ................................................... [ UP ] CDS-2_134 ................................................... [ SUCCESS ] Red Hat Update Infrastructure 2.0 (ISOs) (6.1-x86_64) ................. [ ERROR ] Red Hat Update Infrastructure 1.2 (RPMs) (5.6-x86_64) ................. [ SUCCESS ] Red Hat Enterprise Linux 6 Server from RHUI (RPMs) (6.1-x86_64) ....... [ SUCCESS ] [root@dhcp201-111 ~]# echo $? 1 [root@dhcp201-111 ~]# rpm -qav | grep -ie pulp -ie rhui pulp-client-0.0.214-2.el6.noarch pulp-0.0.214-2.el6.noarch rh-rhui-tools-2.0.43-1.el6.noarch pulp-common-0.0.214-2.el6.noarch 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, 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/RHBA-2017:0367 |