-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.14, 4.15, 4.16, 4.17
This is a clone of issue OCPBUGS-45236. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-45173. The following is the description of the original issue:
—
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-46436 [release-4.15] Unable to set the operatorLogLevel to Debug/Trace/TraceAll for insightsoperator object
-
- Closed
-
- clones
-
OCPBUGS-45236 [release-4.17] Unable to set the operatorLogLevel to Debug/Trace/TraceAll for insightsoperator object
-
- Closed
-
- is blocked by
-
OCPBUGS-45236 [release-4.17] Unable to set the operatorLogLevel to Debug/Trace/TraceAll for insightsoperator object
-
- Closed
-
- is cloned by
-
OCPBUGS-46436 [release-4.15] Unable to set the operatorLogLevel to Debug/Trace/TraceAll for insightsoperator object
-
- Closed
-
- links to
-
RHBA-2024:11502
OpenShift Container Platform 4.16.z bug fix update