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

validate cert files exist in readyz sidecar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • 4.14, 4.15, 4.16, 4.17, 4.18
    • Etcd
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      Changing the readyZ probe revealed that we might not have certificates when it's running:
      
      Error:create client failure: error during client TLSConfig: open /var/run/secrets/etcd-client/tls.crt: no such file or directory
      
      example run from a PR:
      https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_cluster-etcd-operator/1278/pull-ci-openshift-cluster-etcd-operator-master-e2e-aws-ovn-etcd-scaling/1823974497003245568

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

      > 4.14 - 4.18

      How reproducible:

      always    

      Steps to Reproduce:

      run the changes from the #1278 PR in CEO

      Actual results:

      pathological events are triggered on CI

      Expected results:

      no such tls error event is emitted on readyz probes, no pathological event test failure observed in CI anymore

      Additional info:

       

              dwest@redhat.com Dean West
              tjungblu@redhat.com Thomas Jungblut
              Ge Liu Ge Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: