Description of problem: ---------------------- In SSP CR, the reason field's value is in lowercase, whereas other fields are not, also comparing to all other status.conditions fields in other CRs (HCO CR, CDI CR). Version-Release number of selected component (if applicable): ------------------------------------------------------------ 4.10.0-477 How reproducible: ---------------- 100% Steps to Reproduce: ------------------ oc get -A ssp -oyaml Actual results: -------------- $ oc get ssp -n openshift-cnv ssp-kubevirt-hyperconverged -ojson |jq '.status.conditions' [ { "lastHeartbeatTime": "2021-12-14T14:30:07Z", "lastTransitionTime": "2021-12-14T14:30:07Z", "message": "All SSP resources are available", "reason": "available", "status": "True", "type": "Available" }, { "lastHeartbeatTime": "2021-12-14T14:30:07Z", "lastTransitionTime": "2021-12-14T14:30:07Z", "message": "No SSP resources are progressing", "reason": "progressing", "status": "False", "type": "Progressing" }, { "lastHeartbeatTime": "2021-12-14T14:30:07Z", "lastTransitionTime": "2021-12-14T14:30:07Z", "message": "No SSP resources are degraded", "reason": "degraded", "status": "False", "type": "Degraded" } ] Expected results: ---------------- Should be Camelcase, as follows: [ { "lastHeartbeatTime": "2021-12-14T14:30:07Z", "lastTransitionTime": "2021-12-14T14:30:07Z", "message": "All SSP resources are available", "reason": "Available", "status": "True", "type": "Available" }, { "lastHeartbeatTime": "2021-12-14T14:30:07Z", "lastTransitionTime": "2021-12-14T14:30:07Z", "message": "No SSP resources are progressing", "reason": "Progressing", "status": "False", "type": "Progressing" }, { "lastHeartbeatTime": "2021-12-14T14:30:07Z", "lastTransitionTime": "2021-12-14T14:30:07Z", "message": "No SSP resources are degraded", "reason": "Degraded", "status": "False", "type": "Degraded" } ] Additional info: --------------- According to https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties // +optional Reason *string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"`
Verified on ssp-operator-container-v4.10.0-39
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 Virtualization 4.10.0 Images security and bug fix 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:0947