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

Version 4.3

$ openshift-install version
./openshift-install v4.3.0
built from commit 2055609f95b19322ee6cfdd0bea73399297c4a3e
release image quay.io/openshift-release-dev/ocp-release@sha256:3a516480dfd68e0f87f702b4d7bdd6f6a0acfdac5cd2e9767b838ceede34d70d

Platform:

AWS - region us-west-2 / us-east-2

What happened?

Hello, trying to create a cluster always got the below issue:

DEBUG Apply complete! Resources: 131 added, 0 changed, 0 destroyed. DEBUG OpenShift Installer v4.3.0 DEBUG Still waiting for the Kubernetes API: Get https://api.ocp3.openshift.lab.com:6443 /version?timeout=32s: dial tcp 91.195.240.126:6443: connect: connection refused DEBUG Log bundle written to /var/home/core/log-bundle-20200129173047.tar.gz INFO Bootstrap gather logs captured here “log-bundle-20200129173047.tar.gz” FATAL Bootstrap failed to complete: waiting for Kubernetes API: context deadline exceeded

.openshift_install.log.txt

What you expected to happen?

Get a running Openshift console

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

launch the destroy of the cluster and launch again the create

$ ./openshift-install create cluster --dir=. --log-level=debug

Anything else we need to know?

I noticed the ssh key was not in each each EC2 instances so I cannot login into.

Running on WSL Ubuntu 18.04

References

no real solution in -> https://github.com/openshift/installer/issues/1745#

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 50 (20 by maintainers)

Most upvoted comments

Seeing the same behaviour in GCP with: openshift-install 4.3.8

@Philippe73, there was another difference in the test cases. When I ran 4.3.0 and it timed out, that was built with hack/build.sh. The successful installation of 4.2.16 was the downloaded installer https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.2.16/openshift-install-linux-4.2.16.tar.gz After more testing, it seems that the downloaded installer works and the build doesn’t, regardless of version. Could you check?

@RANGERBEE My problem on GCP was due to my project name being too long. Also, with regards to @sdarwin 's comment above, I think using a non-released version (i.e: built from source) requires the use of IMAGE_OVERRIDE