OpenShift IPI installation on vSphere fails with : `unable to login to vCenter: Post "https://<vcentre_url>/sdk": context deadline exceeded`
Issue
-
OpenShift installation on
vSpherevia IPI method fails during node creation. -
The
machinesCR gets created but doesn't reconcile with the cluster.
$ oc get machines -n openshift-machine-api
NAME PHASE TYPE REGION ZONE AGE
abc-xxx-master-0 20h
abc-xxx-master-1 20h
abc-xxx-master-2 20h
abc-xxx-worker-0-59ddg 20h
abc-xxx-worker-0-lnrtw 20h
abc-xxx-worker-0-nzq8g 20h
- Describing any machine streamlines the following message :-
message: 'Failed to check if machine exists: abc-xxx-master-0: failed
to create scope for machine: failed to create vSphere session: unable to login
to vCenter: Post "https://<vcentre_url>/sdk": context deadline
exceeded (Client.Timeout exceeded while awaiting headers)'
- The necessary prerequisites as per the following doc are already met, including
checking necessary permissions,checking vCentre connectivityetc.
Environment
- Red Hat OpenShift Container Platform
- 4
- IPI installation
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.