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

Bootstrap failed to complete: Failed waiting for Kubernetes API

    XMLWordPrintable

Details

    • Important
    • No
    • 3
    • Metal Platform 240, Metal Platform 241
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      Disconnected deployment with nightly image is failing with err: "Bootstrap failed to complete: Failed waiting for Kubernetes API" since 11.08

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

      registry.ci.openshift.org/ocp/release:4.14.0-0.nightly-2023-08-11-055332

      How reproducible:

      100%

      Steps to Reproduce:

      Deploy disconnected cluster with last nightly image
      
      

      Actual results:

      Disconnected cluster deployment failed:

      04:43:42  fatal: [provisionhost-0-0]: FAILED! => {"changed": true, "cmd": "~/openshift-baremetal-install --dir ~/clusterconfigs --log-level debug wait-for bootstrap-complete\n", "delta": "0:20:02.987493", "end": "2023-08-13 21:43:34.197322", "msg": "non-zero return code", "rc": 5, "start": "2023-08-13 21:23:31.209829", "stderr": "level=debug msg=OpenShift Installer 4.14.0-0.nightly-2023-08-11-055332\nlevel=debug msg=Built from commit 0be5579f9c69d275db0600f41fac1686068a62c8\nlevel=info msg=Waiting up to 20m0s (until 9:43PM EDT) for the Kubernetes API at https://api.ocp-edge-cluster-0.qe.lab.redhat.com:6443...\nlevel=debug msg=Loading Agent Config...\nlevel=debug msg=Still waiting for the Kubernetes API: Get \"https://api.ocp-edge-cluster-0.qe.lab.redhat.com:6443/version\": dial tcp 192.168.123.5:6443: connect: no route to host\nlevel=debug msg=Still waiting for the Kubernetes API: Get 
      ...
      msg=Still waiting for the Kubernetes API: Get \"https://api.ocp-edge-cluster-0.qe.lab.redhat.com:6443/version\": dial tcp 192.168.123.5:6443: connect: no route to host", "level=debug msg=Still waiting for the Kubernetes API: Get \"https://api.ocp-edge-cluster-0.qe.lab.redhat.com:6443/version\": dial tcp 192.168.123.5:6443: connect: no route to host", "level=error msg=Attempted to gather ClusterOperator status after wait failure: listing ClusterOperator objects: Get \"https://api.ocp-edge-cluster-0.qe.lab.redhat.com:6443/apis/config.openshift.io/v1/clusteroperators\": dial tcp 192.168.123.5:6443: connect: no route to host", "level=info msg=Use the following commands to gather logs from the cluster", "level=info msg=openshift-install gather bootstrap --help", "level=error msg=Bootstrap failed to complete: Get \"https://api.ocp-edge-cluster-0.qe.lab.redhat.com:6443/version\": dial tcp 192.168.123.5:6443: connect: no route to host", "level=error msg=Failed waiting for Kubernetes API. This error usually happens when there is a problem on the bootstrap host that prevents creating a temporary control plane."], "stdout": "", "stdout_lines": []}

      Expected results:

      Deployment succeeded

      Additional info:

      Link do failed job - https://ci-jenkins-csb-kniqe.apps.ocp-c1.prod.psi.redhat.com/job/ocp-baremetal-ipi-deployment/32285/consoleFull

      Attachments

        Activity

          People

            janders@redhat.com Jacob Anders
            annsavina Anna Savina Frances
            Pedro Jose Amoedo Martinez Pedro Jose Amoedo Martinez
            Anna Savina Frances
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: