Skip to content

Bootstrap failed to complete: waiting for Kubernetes API: context deadline exceeded #2516

@taosha121

Description

@taosha121

Version

$ openshift-install version
openshift-install4.2 v4.2.0
built from commit b5aebb52f4b363e942234cd7d7f1c145d044c2ef
release image quay.io/openshift-release-dev/ocp-release-nightly@sha256:75f065cf0590077ffba27ac61e104420660b8d2a344e09a11edd3cde50d14b01

Platform:

gcp

What happened?

Encountered the error that Bootstrap failed to complete: waiting for Kubernetes API: context deadline exceeded

What you expected to happen?

OCP cluster can be provisioned correctly on gcp platform.

How to reproduce it (as minimally and precisely as possible)?

  1. download openshift-install v4.2 from https://mirror.openshift.com/pub/openshift-v4/clients/ocp-dev-preview/4.2.0-0.nightly-2019-10-07-203748/
  2. generate a config yaml like what I attached through openshift-install create install-config
  3. install cluster through openshift-install create cluster
$ openshift-install create install-config
$ openshift-install create cluster
DEBUG Apply complete! Resources: 73 added, 0 changed, 0 destroyed.
DEBUG OpenShift Installer v4.2.0
DEBUG Built from commit b5aebb52f4b363e942234cd7d7f1c145d044c2ef
INFO Waiting up to 30m0s for the Kubernetes API at https://api.marcotest.mcmlab.google.com:6443...
DEBUG Still waiting for the Kubernetes API: Get https://api.marcotest.mcmlab.google.com:6443/version?timeout=32s: dial tcp: lookup api.marcotest.mcmlab.google.com on 9.0.149.140:53: no such host
DEBUG Still waiting for the Kubernetes API: Get https://api.marcotest.mcmlab.google.com:6443/version?timeout=32s: dial tcp: lookup api.marcotest.mcmlab.google.com on 9.0.149.140:53: no such host
ERROR Attempted to gather debug logs after installation failure: failed to create SSH client, ensure the proper ssh key is in your keyring or specify with --key: ssh: handshake failed: EOF
FATAL Bootstrap failed to complete: waiting for Kubernetes API: context deadline exceeded

Anything else we need to know?

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions