Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-7992

MTT: Cannot Set log levels to trace for istio control plane

XMLWordPrintable

      Could not set log levels to trace for istio control plane. However, as per the document https://docs.openshift.com/container-platform/4.14/service_mesh/v2x/ossm-reference-smcp.html#ossm-cr-general_ossm-reference the possible values can are trace, debug...

      Looked into the upstream istio document which doesn't mention anything about the trace level logs https://istio.io/latest/docs/ops/diagnostic-tools/component-logging/

      Also, if this is not possible then SMCP should be restricted to set the value to default: trace

       

      [quickcluster@upi-0 ~]$ oc get smcp basic -ojson | jq .spec.general
      {
        "logging": {
          "componentLevels": {
            "default": "trace"
          }
        }
      }
      
      [quickcluster@upi-0 ~]$ oc get pods | grep istiod
      istiod-basic-6954fb8bc7-phzhd          0/1     CrashLoopBackOff   3 (11s ago)   58s
      istiod-basic-78f76c556c-scxj5          1/1     Running            0             16m
      
      [quickcluster@upi-0 ~]$ oc logs istiod-basic-6954fb8bc7-phzhd 
      2024-04-18T02:51:24.839261Z	error	invalid output level 'default:trace'
      Error: invalid output level 'default:trace' 

              mabramov@redhat.com Mikhail Abramov
              mabramov@redhat.com Mikhail Abramov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: