Bug 1902253
Summary: | MHC status doesnt set RemediationsAllowed = 0 | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | sunzhaohua <zhsun> |
Component: | Cloud Compute | Assignee: | Joel Speed <jspeed> |
Cloud Compute sub component: | Other Providers | QA Contact: | sunzhaohua <zhsun> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | ||
Version: | 4.7 | ||
Target Milestone: | --- | ||
Target Release: | 4.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-24 15:36:28 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
sunzhaohua
2020-11-27 13:46:50 UTC
This field is being omitted because 0 is the zero value of the field, as such the json encoder doesn't encode it. We could make this work if we made the value a pointer, but that will make us diverge further from upstream and complicates the code somewhat. Is there a strong prior preference for having this kind of field shown when it's zero? Since we have the condition showing that the remediation is being restricted, I wonder if this field is actually needed at this point? Verified clusterversion: 4.7.0-0.nightly-2020-12-03-205004 Status: Conditions: Last Transition Time: 2020-12-04T07:38:06Z Status: True Type: RemediationAllowed Current Healthy: 1 Expected Machines: 2 Remediations Allowed: 0 Status: Conditions: Last Transition Time: 2020-12-04T08:02:35Z Message: Remediation is not allowed, the number of not started or unhealthy machines exceeds maxUnhealthy (total: 2, unhealthy: 2, maxUnhealthy: 1) Reason: TooManyUnhealthy Severity: Warning Status: False Type: RemediationAllowed Current Healthy: 0 Expected Machines: 2 Remediations Allowed: 0 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.7.0 security, bug fix, and enhancement 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-2020:5633 |