[jianl@jianl-thinkpadt14gen4 419]$ oc get pod -n openshift-cluster-version NAME READY STATUS RESTARTS AGE cluster-version-operator-554b4d54f8-vwg8t 1/1 Running 0 36m [jianl@jianl-thinkpadt14gen4 419]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.19.0-0-2025-04-27-022151-test-ci-ln-7yfjrrb-latest True False 11m Cluster version is 4.19.0-0-2025-04-27-022151-test-ci-ln-7yfjrrb-latest [jianl@jianl-thinkpadt14gen4 419]$ 1. check CVO log: oc logs cluster-version-operator-554b4d54f8-vwg8t -n openshift-cluster-version > /home/jianl/tests/OTA-209/2/cvo-1.log [jianl@jianl-thinkpadt14gen4 419]$ oc patch featuregates.config.openshift.io cluster --type=merge --patch '{"spec":{"featureSet":"DevPreviewNoUpgrade"}}' featuregate.config.openshift.io/cluster patched [jianl@jianl-thinkpadt14gen4 419]$ [jianl@jianl-thinkpadt14gen4 419]$ oc get ClusterVersionOperator/cluster -oyaml apiVersion: operator.openshift.io/v1alpha1 kind: ClusterVersionOperator metadata: annotations: include.release.openshift.io/ibm-cloud-managed: "true" include.release.openshift.io/self-managed-high-availability: "true" release.openshift.io/create-only: "true" release.openshift.io/feature-set: DevPreviewNoUpgrade creationTimestamp: "2025-04-27T03:33:37Z" generation: 1 name: cluster ownerReferences: - apiVersion: config.openshift.io/v1 kind: ClusterVersion name: version uid: 12b0d1e1-4265-4734-adeb-c579d5ee114e resourceVersion: "38530" uid: 1860e8d7-be62-49f0-b3f3-50c5d31cab46 spec: operatorLogLevel: Normal status: observedGeneration: 1 [jianl@jianl-thinkpadt14gen4 419]$ 2. install invalid OSUS: 3. check CVO log again oc logs cluster-version-operator-554b4d54f8-fm7nd -n openshift-cluster-version > /home/jianl/tests/OTA-209/2/cvo-2.log 4. Update the log level to 'Debug' [jianl@jianl-thinkpadt14gen4 419]$ oc patch clusterversionoperator/cluster --type=merge --patch '{"spec":{"operatorLogLevel":"Debug"}}' clusterversionoperator.operator.openshift.io/cluster patched [jianl@jianl-thinkpadt14gen4 419]$ oc get ClusterVersionOperator/cluster -oyaml apiVersion: operator.openshift.io/v1alpha1 kind: ClusterVersionOperator metadata: annotations: include.release.openshift.io/ibm-cloud-managed: "true" include.release.openshift.io/self-managed-high-availability: "true" release.openshift.io/create-only: "true" release.openshift.io/feature-set: DevPreviewNoUpgrade creationTimestamp: "2025-04-27T03:33:37Z" generation: 2 name: cluster ownerReferences: - apiVersion: config.openshift.io/v1 kind: ClusterVersion name: version uid: 12b0d1e1-4265-4734-adeb-c579d5ee114e resourceVersion: "48007" uid: 1860e8d7-be62-49f0-b3f3-50c5d31cab46 spec: operatorLogLevel: Debug status: observedGeneration: 2 [jianl@jianl-thinkpadt14gen4 419]$ 5. check CVO log again oc logs cluster-version-operator-554b4d54f8-h2gg9 -n openshift-cluster-version > /home/jianl/tests/OTA-209/2/cvo-3.log 6. Update the log level to 'Trace' by cli: [jianl@jianl-thinkpadt14gen4 419]$ oc patch clusterversionoperator/cluster --type=merge --patch '{"spec":{"operatorLogLevel":"Trace"}}' clusterversionoperator.operator.openshift.io/cluster patched [jianl@jianl-thinkpadt14gen4 419]$ oc get ClusterVersionOperator/cluster -oyaml apiVersion: operator.openshift.io/v1alpha1 kind: ClusterVersionOperator metadata: annotations: include.release.openshift.io/ibm-cloud-managed: "true" include.release.openshift.io/self-managed-high-availability: "true" release.openshift.io/create-only: "true" release.openshift.io/feature-set: DevPreviewNoUpgrade creationTimestamp: "2025-04-27T03:33:37Z" generation: 3 name: cluster ownerReferences: - apiVersion: config.openshift.io/v1 kind: ClusterVersion name: version uid: 12b0d1e1-4265-4734-adeb-c579d5ee114e resourceVersion: "49609" uid: 1860e8d7-be62-49f0-b3f3-50c5d31cab46 spec: operatorLogLevel: Trace status: observedGeneration: 3 [jianl@jianl-thinkpadt14gen4 419]$ 7. check CVO log again oc logs cluster-version-operator-554b4d54f8-h2gg9 -n openshift-cluster-version > /home/jianl/tests/OTA-209/2/cvo-4.log 8. Update the log level to 'TraceAll' by cli: [jianl@jianl-thinkpadt14gen4 419]$ oc patch clusterversionoperator/cluster --type=merge --patch '{"spec":{"operatorLogLevel":"TraceAll"}}' clusterversionoperator.operator.openshift.io/cluster patched [jianl@jianl-thinkpadt14gen4 419]$ oc get ClusterVersionOperator/cluster -oyaml apiVersion: operator.openshift.io/v1alpha1 kind: ClusterVersionOperator metadata: annotations: include.release.openshift.io/ibm-cloud-managed: "true" include.release.openshift.io/self-managed-high-availability: "true" release.openshift.io/create-only: "true" release.openshift.io/feature-set: DevPreviewNoUpgrade creationTimestamp: "2025-04-27T03:33:37Z" generation: 4 name: cluster ownerReferences: - apiVersion: config.openshift.io/v1 kind: ClusterVersion name: version uid: 12b0d1e1-4265-4734-adeb-c579d5ee114e resourceVersion: "54205" uid: 1860e8d7-be62-49f0-b3f3-50c5d31cab46 spec: operatorLogLevel: TraceAll status: observedGeneration: 4 [jianl@jianl-thinkpadt14gen4 419]$ 9. check CVO log again oc logs cluster-version-operator-554b4d54f8-h2gg9 -n openshift-cluster-version > /home/jianl/tests/OTA-209/2/cvo-5.log 10. empty log level: [jianl@jianl-thinkpadt14gen4 419]$ oc patch clusterversionoperator/cluster --type=merge --patch '{"spec":{"operatorLogLevel":""}}' clusterversionoperator.operator.openshift.io/cluster patched [jianl@jianl-thinkpadt14gen4 419]$ oc get ClusterVersionOperator/cluster -oyaml apiVersion: operator.openshift.io/v1alpha1 kind: ClusterVersionOperator metadata: annotations: include.release.openshift.io/ibm-cloud-managed: "true" include.release.openshift.io/self-managed-high-availability: "true" release.openshift.io/create-only: "true" release.openshift.io/feature-set: DevPreviewNoUpgrade creationTimestamp: "2025-04-27T03:33:37Z" generation: 5 name: cluster ownerReferences: - apiVersion: config.openshift.io/v1 kind: ClusterVersion name: version uid: 12b0d1e1-4265-4734-adeb-c579d5ee114e resourceVersion: "55656" uid: 1860e8d7-be62-49f0-b3f3-50c5d31cab46 spec: operatorLogLevel: "" status: observedGeneration: 5 [jianl@jianl-thinkpadt14gen4 419]$ 11. check CVO log again oc logs cluster-version-operator-554b4d54f8-h2gg9 -n openshift-cluster-version > /home/jianl/tests/OTA-209/2/cvo-6.log 12. set log level to Normal: [jianl@jianl-thinkpadt14gen4 419]$ oc patch clusterversionoperator/cluster --type=merge --patch '{"spec":{"operatorLogLevel":"Normal"}}' clusterversionoperator.operator.openshift.io/cluster patched [jianl@jianl-thinkpadt14gen4 419]$ [jianl@jianl-thinkpadt14gen4 419]$ oc get ClusterVersionOperator/cluster -oyaml apiVersion: operator.openshift.io/v1alpha1 kind: ClusterVersionOperator metadata: annotations: include.release.openshift.io/ibm-cloud-managed: "true" include.release.openshift.io/self-managed-high-availability: "true" release.openshift.io/create-only: "true" release.openshift.io/feature-set: DevPreviewNoUpgrade creationTimestamp: "2025-04-27T03:33:37Z" generation: 6 name: cluster ownerReferences: - apiVersion: config.openshift.io/v1 kind: ClusterVersion name: version uid: 12b0d1e1-4265-4734-adeb-c579d5ee114e resourceVersion: "57336" uid: 1860e8d7-be62-49f0-b3f3-50c5d31cab46 spec: operatorLogLevel: Normal status: observedGeneration: 6 [jianl@jianl-thinkpadt14gen4 419]$ 13. check CVO log again oc logs cluster-version-operator-554b4d54f8-h2gg9 -n openshift-cluster-version > /home/jianl/tests/OTA-209/2/cvo-7.log