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

CI jobs for Baremetal with Agent fail waiting for agents to appear

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.19.z
    • HyperShift
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • In Progress
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      Description of problem:
      CI jobs for Baremetal management cluster and hosted cluster using Agent fail when waiting for the agent resource. The jobs use the metal3 BareMetalHost for adding a host. The script that installs the BareMetalHost and waits for the agent to appear can be seen here
      The jobs times out with the following error:

      [2025-06-15 19:23:24] + echo 'Waiting on agent resources create'
      [2025-06-15 19:23:24] Waiting on agent resources create
      [2025-06-15 19:23:24] + sleep 60
      [2025-06-15 19:24:24] + true
      [2025-06-15 19:24:24] ++ oc get agent -n hypershift-agents --no-headers --ignore-not-found 
      

      This error can be seen in the following job runs (different version and CNI plugins):

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

      4.19, 4.18
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1. Run the selected job
          2.
          3.
          

      Actual results:

          The agent resource does not appear and Nodes do not appear either.

      Expected results:

          The hosted cluster successfully starts.

      Additional info:

          

              mgencur@redhat.com Martin Gencur
              mgencur@redhat.com Martin Gencur
              None
              None
              Martin Gencur Martin Gencur
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: