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

etcd-health-probe.log need to be deprecated on control plane node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.16.0
    • 4.16
    • Etcd
    • No
    • 1
    • ETCD Sprint 250, ETCD Sprint 251, ETCD Sprint 252
    • 3
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      /var/log/etcd/etcd-health-probe.log exist on control plane node, but we only touch it in code:
      https://github.com/openshift/cluster-etcd-operator/blob/master/bindata/etcd/pod.yaml#L26
      
      etcd's /var/log/etcd/etcd-health-probe.log be though audit log, because there are audit log in same directory tree for apiserver and auth:
      /var/log/kube-apiserver/audit-2024-03-21T04-27-49.470.log
      /var/log/oauth-server/audit.log
      
      etcd-health-probe.log will bring some misunderstanding to user
          How reproducible:always
      
      
          Steps to Reproduce:
          1. login control plane node
          2. check /var/log/etcd/etcd-health-probe.log
          3. the file size is always zero
      
          Actual results:
      
          
          Expected results:remove this file in code/don't touch this file
      
          

      Additional info:

      
          

              melbeher@redhat.com Mustafa Elbehery
              rhn-support-geliu Ge Liu
              Ge Liu Ge Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: