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

Race condition with proxied IBI/IBU deployments with RHACM 4.20 and <4.20 seed images

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20
    • LCA operator
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • AI-57
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      When trying to deploy a proxied IBI cluster from RHACM 2.15/MCE 2.10 running on OCP 4.20, it fails if the seedimage is from a <4.20 release.
      
      The LCA running on the seed image will fail with the following log:
      
      Dec 10 17:42:36 super1-randu4 lca-cli[132815]: time="2025-12-10 17:42:36" level=error msg="failed to set no proxy: machineNetwork is empty, must be provided in case of proxy"
      Dec 10 17:42:36 super1-randu4 lca-cli[132815]: time="2025-12-10 17:42:36" level=fatal msg="Post pivot operation failed"
      
      
      From some investigation we can see that LCA in 4.18 was checking machineNetwork and in 4.20 it checks machineNetworks.
      
      This looks like a race condition when using proxy. The new components on the hub write machineNetworks to the config iso , but the lca running on the seed image only checks for machineNetwork.
      
      
      machineNetwork in 4.18: https://github.com/openshift-kni/lifecycle-agent/blob/release-4.18/lca-cli/postpivot/postpivot.go#L340-L342
      
      machineNetworks in 4.20: https://github.com/openshift-kni/lifecycle-agent/blob/release-4.20/lca-cli/postpivot/postpivot.go#L378-L380
      
      
      This has been discussed in the following slack thread:
      https://redhat-internal.slack.com/archives/C05JHD9QYTC/p1765462379583519

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

         4.20

      How reproducible:

          Always

      Steps to Reproduce:

          1. Read slack thread
      

      Actual results:

          SNO IBI proxied deployment with seed images running LCA 4.20 fails

      Expected results:

       SNO IBI proxied deployment with seed images running LCA 4.20 works

      Additional info:

          

              dmanor@redhat.com Dan Manor
              mavazque@redhat.com Mario Vazquez Cebrian
              None
              None
              Yang Liu Yang Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: