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

CCO on boostrap node waits for leader election

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.17
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Leader election for CCO running on bootstrap takes ~1 minute

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

          4.17

      How reproducible:

      Always    

      Steps to Reproduce:

          1. Check bootstrap logs
          

      Actual results:

          I0701 10:48:25.497475       1 leaderelection.go:250] attempting to acquire leader lease openshift-cloud-credential-operator/cloud-credential-operator-leader...E0701 10:48:25.498924       1 leaderelection.go:332] error retrieving resource lock openshift-cloud-credential-operator/cloud-credential-operator-leader: Get "https://localhost:6443/apis/coordination.k8s.io/v1/namespaces/openshift-cloud-credential-operator/leases/cloud-credential-operator-leader": dial tcp [::1]:6443: connect: connection refusedI0701 10:50:57.275343       1 leaderelection.go:260] successfully acquired lease openshift-cloud-credential-operator/cloud-credential-operator-leadertime="2024-07-01T10:50:57Z" level=info msg="became leader" id=ec379406-179d-4f1b-aba6-4a9ea5cf8870

      Expected results:

      Bootstrap should start COO without leader election enabled so that it would not wait for ~1 minute to get leader lease

      Additional info:

          

              Unassigned Unassigned
              vrutkovs@redhat.com Vadim Rutkovsky
              None
              None
              Jianping Shu Jianping Shu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: