Bug 1878199 - Remove Log Level Normalization controller in cluster-config-operator release N+1
Summary: Remove Log Level Normalization controller in cluster-config-operator release N+1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: config-operator
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.8.0
Assignee: Stefan Schimanski
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-11 14:53 UTC by Venkata Siva Teja Areti
Modified: 2021-07-27 22:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:32:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-config-operator pull 197 0 None open Bug 1878199: remove log level normalizer 2021-04-23 12:16:03 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:33:19 UTC

Description Venkata Siva Teja Areti 2020-09-11 14:53:25 UTC
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

Comment 4 Stefan Schimanski 2021-01-07 16:08:54 UTC
This still have to wait another release because openshift/cluster-network-operator@ea7eec5#diff-51340aea1de9eeec24aebe2404caddd9258b2e158fb1422598f336cf2d08d939 only merged for 4.7.

Comment 6 Xingxing Xia 2021-04-27 11:04:01 UTC
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"

Comment 9 errata-xmlrpc 2021-07-27 22:32:55 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: 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


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