Bug 2174633

Summary: 'rhui-manager status' returns an exist code 0 even if pulp-workers are down
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Alexey Masolov <amasolov>
Component: RHUAAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED ERRATA QA Contact: Radek Bíba <rbiba>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: mminar
Target Milestone: 4.4.0Keywords: Triaged
Target Release: 4.x   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 14:56:19 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 Alexey Masolov 2023-03-02 03:49:19 UTC
Description of problem:

# systemctl stop pulpcore-worker
# systemctl stop pulpcore-worker
# systemctl stop pulpcore-worker
# systemctl stop pulpcore-worker
# systemctl stop pulpcore-worker
# systemctl stop pulpcore-worker
# systemctl stop pulpcore-worker
# systemctl stop pulpcore-worker
# rhui-manager status
Repos sync status
test-repo ................................................................................. SUCCESS

Entitlement CA certificate
Entitlement CA certificate expiration date = 2122-12-04T01:39:56Z ......................... OK

Services status

RHUA services

Server: localhost

nginx.service ............................................................................. OK
redis.service ............................................................................. OK
postgresql.service ........................................................................ OK
pulpcore-api.service ...................................................................... OK
pulpcore-content.service .................................................................. OK

CDS services

<snip>

Exit code
0

Expected results:
Exit code should have been non-zero.

Comment 5 errata-xmlrpc 2023-05-03 14:56:19 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.4.0 release - Security Fixes, Bug Fixes, and Enhancements Update), 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:2101