-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.14, 4.15, 4.16, 4.17
This is a clone of issue OCPBUGS-45044. The following is the description of the original issue:
—
Description of problem:
The operatorLogLevel reverting back to `Normal` automatically for insightsoperator object
Version-Release number of selected component (if applicable):
4.14,4.15,4.16,4.17
How reproducible:
100%
Steps to Reproduce:
1. Edit the insightsoperator/cluster object: $ oc edit insightsoperator/cluster ... ... spec: logLevel: Normal managementState: Managed operatorLogLevel: Normal ====> Change it to Debug/Trace/TraceAll 2. After 1 Min check if the changes are constant: $ oc get insightsoperator/cluster -o yaml ... ... spec: logLevel: Normal managementState: Managed operatorLogLevel: Normal 3. The OC CLI DOC states that it supports below logLevels: $ oc explain insightsoperator.spec.operatorLogLevel GROUP: operator.openshift.io KIND: InsightsOperator VERSION: v1FIELD: operatorLogLevel <string> ENUM: "" Normal Debug Trace TraceAll DESCRIPTION: operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves. Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
Actual results:
The logLevel is set back to Normal automatically.
Expected results:
The logLevel should not be changed to Normal until manually modified.
Additional info:
The same issue is observed with insightsoperator.spec.logLevel where any logLevel other than Normal getting reverted.
- blocks
-
OCPBUGS-45236 [release-4.18] Unable to set the operatorLogLevel to Debug/Trace/TraceAll for insightsoperator object
- New
- clones
-
OCPBUGS-45044 Unable to set the operatorLogLevel to Debug/Trace/TraceAll for insightsoperator object
- Verified
- is blocked by
-
OCPBUGS-45044 Unable to set the operatorLogLevel to Debug/Trace/TraceAll for insightsoperator object
- Verified
- is cloned by
-
OCPBUGS-45236 [release-4.18] Unable to set the operatorLogLevel to Debug/Trace/TraceAll for insightsoperator object
- New
- links to