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

When installing SNO with bootstrap in place it takes CVO 6 minutes to acquire the leader lease

XMLWordPrintable

      Description of problem:

      When installing SNO with bootstrap in place CVO hangs for 6 minutes waiting for the lease

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

       

      How reproducible:

      100%

      Steps to Reproduce:

      1.Run the POC using the makefile here https://github.com/eranco74/bootstrap-in-place-poc
      2. Observe the CVO logs post reboot
      3.
      

      Actual results:

      I0102 09:45:53.131061       1 leaderelection.go:248] attempting to acquire leader lease openshift-cluster-version/version...
      I0102 09:51:37.219685       1 leaderelection.go:258] successfully acquired lease openshift-cluster-version/version

      Expected results:

      Expected the bootstrap CVO to release the lease so that the CVO running post reboot won't have to wait the lease duration  

      Additional info:

      POC (hack) that remove the lease and allows CVO to start immediately:
      https://github.com/openshift/installer/pull/6757/files#diff-f12fbadd10845e6dab2999e8a3828ba57176db10240695c62d8d177a077c7161R38-R48
        
      Slack thread:
      https://redhat-internal.slack.com/archives/C04HSKR4Y1X/p1673345953183709

              ercohen Eran Cohen
              ercohen Eran Cohen
              Alexander Chuzhoy Alexander Chuzhoy
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: