ryanhay / ocp4-metal-install

Install OpenShift 4 on Bare Metal - UPI
209 stars 394 forks source link

DEBUG Still waiting for the Kubernetes API: the server has asked for the client to provide credentials #15

Open Geethanath10 opened 2 years ago

Geethanath10 commented 2 years ago

[root@ocp-svc ~]# ~/openshift-install --dir ~/ocp-install wait-for bootstrap-complete --log-level=debug DEBUG OpenShift Installer 4.9.18 DEBUG Built from commit eb132dae953888e736c382f1176c799c0e1aa49e INFO Waiting up to 20m0s for the Kubernetes API at https://api.lab.ocp.lan:6443... DEBUG Still waiting for the Kubernetes API: the server has asked for the client to provide credentials

can any one know why it's happening like this....

skyakash commented 2 years ago

@Geethanath10

Try logging in to bootstrap node and see if containers are getting created.

ssh core@192.168.22.200 sudo crictl ps

Also check similarly on controlplane nodes.

Do you need to set clusterwide proxy, incase if your NW is behind a proxy. If yes then add it while creating ~/ocp-install/install-config.yaml

Reference: https://access.redhat.com/documentation/en-us/openshift_container_platform/4.8/html/installing/installing-on-bare-metal#installation-configure-proxy_installing-bare-metal