Bug 1999836
Summary: | Admin web-console inconsistent status summary of sparse ClusterOperator conditions | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | W. Trevor King <wking> | |
Component: | Management Console | Assignee: | Jakub Hadvig <jhadvig> | |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | |
Severity: | low | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.8 | CC: | aos-bugs, spadgett, yapei | |
Target Milestone: | --- | |||
Target Release: | 4.10.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2052553 (view as bug list) | Environment: | ||
Last Closed: | 2022-03-10 16:06:30 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2052553 |
Description
W. Trevor King
2021-08-31 19:05:57 UTC
Not really sure whats the issue here. After applying the CR and patching the status conditions I've check the Status value on "${CONSOLE}/k8s/cluster/config.openshift.io~v1~ClusterOperator/testing" in Chrome browser Im not really sure what is the issue here. Could you be more specific? Current statuses that don't match my expectations: * Available=False, Degraded=False is currently represented as Status=Unknown, when I'd expect it to be Status=Unavailable. * Available=False, Degraded=True is currently represented as Status=Degraded, when I'd expect it to be Status=Unavailable (because Available=False is critical, component is missing functionality, while Degraded=True is only a warning, component is missing its service level objectives). So I'd expect the console logic to adjust, so that the reported Status matches my expectations for those two cases (without breaking the other cases where the console already matches my expectations ;). verify the fix following the steps in https://bugzilla.redhat.com/show_bug.cgi?id=1999836#c0 * patch with status.conditions value: {"lastTransitionTime": "2021-08-31T01:01:01Z", "type": "Degraded", "status": "True", "reason": "Testing", "message": "Testing degraded https://example.com/a."} Available unset, Degraded=True -> Console: Status=Degraded * patch with status.conditions value: {"lastTransitionTime": "2021-08-31T01:01:01Z", "type": "Degraded", "status": "False", "reason": "Testing", "message": "Testing degraded https://example.com/a."} Available unset, Degraded=False -> Console: Status=Unknown * patch with status.conditions value: {"lastTransitionTime": "2021-08-31T01:01:01Z", "type": "Available", "status": "False", "reason": "Testing", "message": "Testing available https://example.com/a."}, {"lastTransitionTime": "2021-08-31T01:01:01Z", "type": "Degraded", "status": "False", "reason": "Testing", "message": "Testing degraded https://example.com/a."} Available=False, Degraded=False -> Console: Status=Unavailable * patch with status.conditions value: {"lastTransitionTime": "2021-08-31T01:01:01Z", "type": "Available", "status": "True", "reason": "Testing", "message": "Testing available https://example.com/a."}, {"lastTransitionTime": "2021-08-31T01:01:01Z", "type": "Degraded", "status": "False", "reason": "Testing", "message": "Testing degraded https://example.com/a."} Available=True, Degraded=False -> Console: Status=Available * patch with status.conditions value: {"lastTransitionTime": "2021-08-31T01:01:01Z", "type": "Available", "status": "False", "reason": "Testing", "message": "Testing available https://example.com/a."}, {"lastTransitionTime": "2021-08-31T01:01:01Z", "type": "Degraded", "status": "True", "reason": "Testing", "message": "Testing degraded https://example.com/a."} Available=False, Degraded=True -> Console: Status=Unavailable * patch with status.conditions value: {"lastTransitionTime": "2021-08-31T01:01:01Z", "type": "Available", "status": "True", "reason": "Testing", "message": "Testing available https://example.com/a."}, {"lastTransitionTime": "2021-08-31T01:01:01Z", "type": "Degraded", "status": "False", "reason": "Testing", "message": "Testing degraded https://example.com/a."} Available=True, Degraded=True -> Console: Status=Available All status shown in console are matching with expectations in https://bugzilla.redhat.com/show_bug.cgi?id=1999836#c0, so moving to VERIFIED checked against 4.10.0-0.nightly-2021-09-26-233013 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: OpenShift Container Platform 4.10.3 security 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-2022:0056 |