installer: Bootstrap failed to complete: failed waiting for Kubernetes API: Get "https://************:6443/version?timeout=32s": dial tcp 20.56.106.54:6443: i/o timeout
Version
$ openshift-install version
<4.6>
Platform:
IPI azureWhat happened?
Enter text here. Bootstrap failed to complete: failed waiting for Kubernetes API: Get “https://***********:6443/version?timeout=32s”: dial tcp 20.56.106.54:6443: i/o timeout
What you expected to happen?
Successful cluster running
How to reproduce it (as minimally and precisely as possible)?
./openshift-install create cluster --dir=. --log-level=debug
$ your-commands-here
Anything else we need to know?
Enter text here.
References
- enter text here.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (9 by maintainers)
I’m having a similar issue. Tried with both 4.7 and 4.5 installers. It gets near the end and fails:
INFO Waiting up to 20m0s for the Kubernetes API at https://api.mcm-garage-poc.mcmgaragepoc.com:6443… ERROR Attempted to gather ClusterOperator status after installation failure: listing ClusterOperator objects: Get “https://api.mcm-garage-poc.mcmgaragepoc.com:6443/apis/config.openshift.io/v1/clusteroperators”: dial tcp: lookup api.mcm-garage-poc.mcmgaragepoc.com on 10.0.0.2:53: no such host INFO Pulling debug logs from the bootstrap machine INFO Bootstrap gather logs captured here “/home/bill/ocp_inst/~/ocp-install-1/log-bundle-20210405180742.tar.gz” FATAL Bootstrap failed to complete: failed waiting for Kubernetes API: Get “https://api.mcm-garage-poc.mcmgaragepoc.com:6443/version?timeout=32s”: dial tcp: lookup api.mcm-garage-poc.mcmgaragepoc.com on 10.0.0.2:53: no such host
I can see the private DNS zone created with the api…com address pointing to the load balancer, so I’m not quite sure why that lookup is failing. I’m doing an installer provisioned installation, so the only thing I’ve created beforehand was the DNS zone and the principal ID.
Here’s a bootkube.log file from one of the attempts. Any help would be greatly appreciated.
bootkube.log
There is not enough information to go on here. Did the installer capture logs from the bootstrap machine? There should be a message towards the end of the installer output like
Bootstrap gather logs captured here: <some tar gz>that points you to the logs. Look in the logs to see what the output is from release-image.service and bootkube.service. The logs will be under bootstrap/journals in the log bundle.