OpenShift IPI installation on vSphere fails with : `unable to login to vCenter: Post "https://<vcentre_url>/sdk": context deadline exceeded`

Solution Verified - Updated -

Issue

  • OpenShift installation on vSphere via IPI method fails during node creation.

  • The machines CR 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 connectivity etc.

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content