Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-33955

logtostderr is removed in the k8s upstream and has no effect any more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.17.0
    • Monitoring
    • Low
    • No
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      4.16.0-0.nightly-2024-05-14-095225, "logtostderr is removed in the k8s upstream and has no effect any more." log in kube-rbac-proxy-main/kube-rbac-proxy-self/kube-rbac-proxy-thanos containers

      $ oc -n openshift-monitoring logs -c kube-rbac-proxy-main openshift-state-metrics-7f78c76cc6-nfbl4
      W0514 23:19:50.052015       1 deprecated.go:66] 
      ==== Removed Flag Warning ======================logtostderr is removed in the k8s upstream and has no effect any more.===============================================
      ...
      
      $ oc -n openshift-monitoring logs -c kube-rbac-proxy-self openshift-state-metrics-7f78c76cc6-nfbl4
      ...
      W0514 23:19:50.177692       1 deprecated.go:66] 
      ==== Removed Flag Warning ======================logtostderr is removed in the k8s upstream and has no effect any more.===============================================
      ...
      
      $ oc -n openshift-monitoring get pod openshift-state-metrics-7f78c76cc6-nfbl4 -oyaml | grep logtostderr -C3
      spec:
        containers:
        - args:
          - --logtostderr
          - --secure-listen-address=:8443
          - --tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
          - --upstream=http://127.0.0.1:8081/
      --
            name: kube-api-access-v9hzd
            readOnly: true
        - args:
          - --logtostderr
          - --secure-listen-address=:9443
          - --tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
          - --upstream=http://127.0.0.1:8082/
      
      $ oc -n openshift-monitoring logs -c kube-rbac-proxy-thanos prometheus-k8s-0
      W0515 02:55:54.209496       1 deprecated.go:66] 
      ==== Removed Flag Warning ======================logtostderr is removed in the k8s upstream and has no effect any more.===============================================
      ...
      
      $ oc -n openshift-monitoring get pod prometheus-k8s-0 -oyaml | grep logtostderr -C3
          - --config-file=/etc/kube-rbac-proxy/config.yaml
          - --tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
          - --allow-paths=/metrics
          - --logtostderr=true
          - --tls-min-version=VersionTLS12
          env:
          - name: POD_IP

      Version-Release number of selected component (if applicable):

      4.16.0-0.nightly-2024-05-14-095225

      How reproducible:

      always

      Steps to Reproduce:

      1. see the description

      Actual results:

      logtostderr is removed in the k8s upstream and has no effect any more    

      Expected results:

      no such info    

      Additional info:

          

              mariofer@redhat.com Mario Fernandez Herrero
              juzhao@redhat.com Junqi Zhao
              Junqi Zhao Junqi Zhao
              Eliska Romanova Eliska Romanova
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: