Bug 2174633 - 'rhui-manager status' returns an exist code 0 even if pulp-workers are down
Summary: 'rhui-manager status' returns an exist code 0 even if pulp-workers are down
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: RHUA
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 4.4.0
: 4.x
Assignee: Gregg Tanzillo
QA Contact: Radek Bíba
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-02 03:49 UTC by Alexey Masolov
Modified: 2023-05-03 14:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-03 14:56:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHUI-371 0 None None None 2023-03-08 14:57:55 UTC
Red Hat Product Errata RHSA-2023:2101 0 None None None 2023-05-03 14:56:50 UTC

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


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