This bug is a tracker to revert controller changes in this PR https://github.com/openshift/cluster-config-operator/pull/150 After validation for logLevel field is added for operator spec, those changes can be reverted. Relates to https://bugzilla.redhat.com/show_bug.cgi?id=1878007
This still have to wait another release because openshift/cluster-network-operator@ea7eec5#diff-51340aea1de9eeec24aebe2404caddd9258b2e158fb1422598f336cf2d08d939 only merged for 4.7.
As this bug's title, it is to remove from later release the normalization *CODE* that was added in earlier release. As per comment in bug 1877408#c0 , 4.6 already added validation but still keeps normalization. So nothing special to do for this bug. But still doing a regression test: $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.8.0-0.nightly-2021-04-26-161128 True False 8h Cluster version is 4.8.0-0.nightly-2021-04-26-161128 # Validation is added $ oc patch openshiftapiserver cluster -p '{"spec": {"operatorLogLevel": "oastest111"}}' --type merge The OpenShiftAPIServer "cluster" is invalid: spec.operatorLogLevel: Unsupported value: "oastest111": supported values: "", "Normal", "Debug", "Trace", "TraceAll" $ oc patch openshiftapiserver cluster -p '{"spec": {"logLevel": "oastest222"}}' --type merge The OpenShiftAPIServer "cluster" is invalid: spec.logLevel: Unsupported value: "oastest222": supported values: "", "Normal", "Debug", "Trace", "TraceAll"
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.8.2 bug fix and 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-2021:2438