Failed to install OCP with log error: The bootstrap machine is unable to resolve API and/or API-Int Server URLs

Solution Verified - Updated -

Issue

  • Failed to install an OCP cluster
  • The installation logs show the following warnings/errors

    time="2023-04-12T17:17:00-04:00" level=debug msg="ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection refused\r"
    time="2023-04-12T17:17:00-04:00" level=debug msg="Collecting info from xxx.xxx.xxx.xxx"
    time="2023-04-12T17:17:00-04:00" level=debug msg="lost connection"
    
    time="2023-04-12T17:17:01-04:00" level=warning msg="Unable to stat /home/kni/clusterconfigs/serial-log-bundle-20230412171632.tar.gz, skipping"
    time="2023-04-12T17:17:03-04:00" level=error msg="Bootstrap failed to complete: timed out waiting for the condition"
    time="2023-04-12T17:17:03-04:00" level=error msg="Failed to wait for bootstrapping to complete. This error usually happens when there is a problem with control plane hosts that prevents the control plane operators from creating the control plane."
    time="2023-04-12T17:17:03-04:00" level=warning msg="The bootstrap machine is unable to resolve API and/or API-Int Server URLs"
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
    • Barmetal IPI

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content