Unable to attach vSphere volumes in OpenShift

Solution Unverified - Updated -

Issue

  • There are many pods in Pending waiting on volume attachment while using vSphere.
  • Not able to create or attach new volumes to pods.
  • There are error messages in the platform logs like:
2022-11-03T06:30:05.619986229Z E1103 06:30:05.619926       1 connection.go:198] Failed to create new client. err: Post "https://<vSphere>:443/sdk": EOF
2022-11-03T06:30:05.619986229Z E1103 06:30:05.619961       1 connection.go:66] Failed to create govmomi client. err: Post "https://<vSphere>:443/sdk": EOF
2022-11-03T06:30:05.619986229Z E1103 06:30:05.619979       1 nodemanager.go:450] Cannot connect to vCenter with err: Post "https://<vSphere>:443/sdk": EOF
2022-11-03T06:30:05.620034405Z I1103 06:30:05.619992       1 nodemanager.go:140] Discovering node error vc:Post "https://<vSphere>:443/sdk": EOF

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • VMware vSphere

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