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

[IBMCloud] [CAPI] Machine manifest generation SSHKey lookup fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18, 4.19
    • Installer / IBM Cloud
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      SSHKey lookup may fail, when generating CAPI Machine manifests. It is possible the SSHKey lookup can encounter issues running so frequently, with the IBM Cloud client overloaded.
      
      Another possible issue, is making multiple requests for the same SSHKey unnecessarily (once per machine, rather than just once).

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

      4.19

      How reproducible:

      20%

      Steps to Reproduce:

      1. Configure IPI to use IBM Cloud CAPI Infrastructure installation (FeatureGates)
      2. Create IPI OCP cluster on IBM Cloud using CAPI Infrastructure creation

      Actual results:

      time="2024-12-09T16:53:09Z" level=debug msg="Generating Cluster API Machine Manifests..."
      time="2024-12-09T16:53:11Z" level=fatal msg="failed to fetch Cluster API Machine Manifests: failed to generate asset \"Cluster API Machine Manifests\": failed to generate IBM Cloud VPC machine manifests: failure attempting to find sshkey for master machines: failed to retrieve client to find machine ssh key: The system is currently unable to fulfill the request. Please retry. If the failure persists, contact support and provide the trace value from this error."

      Expected results:

      Successful SSHKey lookup, or simple warning the key could not be found and continue IPI install.

      Additional info:

      Current SSHKey lookup is being made multiple times (once for each Machine), which is unnecessary. Only one SSHKey is provided, so the lookup should only occur once.
      
      IBM Cloud is investigating a fix.

              jeffbnowicki Jeff Nowicki
              cschaefe@redhat.com Christopher Schaefer
              Gaoyun Pei Gaoyun Pei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: