This BZ was taken care as part of https://github.com/openshift/console-operator/pull/473 since the PR was bumping dep. packages and fixing multiple issues.
Change console.config spec.logLevel and spec.operatorLogLevel using `oc edit` and :wq # oc edit console.config cluster // didn't see warning message and it says console.config.openshift.io/cluster edited spec: operatorLogLevel: abc logLevel: abc console.config.openshift.io/cluster edited # oc get consoles.config.openshift.io cluster -o json | jq '.spec' // nothing saved {} We didn't see warning message when trying to save the invalid changes This is checked against # oc version Client Version: openshift-clients-4.6.0-202006250705.p0-162-g074039a0a Server Version: 4.6.0-0.nightly-2020-10-08-182439 Kubernetes Version: v1.19.0+db1fc96 Moving back to assigned for further investigation
Yadan, it looks like you're editing the wrong resource. It should be $ oc edit consoles.operators.openshift.io cluster I see the error message: # consoles.operator.openshift.io "cluster" was not valid: # * spec.operatorLogLevel: Unsupported value: "abc": supported values: "", "Normal", "Debug", "Trace", "TraceAll" # * spec.logLevel: Unsupported value: "abc": supported values: "", "Normal", "Debug", "Trace", "TraceAll" $ oc version Client Version: 4.5.0-rc.4 Server Version: 4.6.0-0.nightly-2020-10-09-033719 Kubernetes Version: v1.19.0+d59ce34 It looks like the title is wrong. I'll update. Moving back to ON_QA.
Sorry that should be $ oc edit consoles.operator.openshift.io cluster
Thank you Sam! I tried again and I can see warning message when trying to save the changes # consoles.operator.openshift.io "cluster" was not valid: # * spec.logLevel: Unsupported value: "abc": supported values: "", "Normal", "Debug", "Trace", "TraceAll" # * spec.operatorLogLevel: Unsupported value: "abbc": supported values: "", "Normal", "Debug", "Trace", "TraceAll" # apiVersion: operator.openshift.io/v1 kind: Console metadata: annotations: release.openshift.io/create-only: "true" creationTimestamp: "2020-10-09T23:23:25Z" generation: 1 name: cluster resourceVersion: "34767" selfLink: /apis/operator.openshift.io/v1/consoles/cluster uid: f0cf665b-76b8-4e11-9c15-5045206fac00 spec: logLevel: abc managementState: Managed operatorLogLevel: abbc Moving to VERIFIED Client Version: openshift-clients-4.6.0-202006250705.p0-162-g074039a0a Server Version: 4.6.0-0.nightly-2020-10-09-153352 Kubernetes Version: v1.19.0+d59ce34
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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196