VSphere cluster health checks are failing with CheckDefaultDatastore in OCP 4.7

Solution Verified - Updated -


  • Alert firing on the dashboard after upgrading OpenShift cluster to 4.7.x
I0622 02:12:42.445532       1 operator.go:241] CheckDefaultDatastore failed: defaultDatastore "xxxxx" in vSphere configuration: datastore xxxxxx: datastore name is too long: escaped volume path "-var-lib-kubelet-plugins-kubernetes.io-vsphere\\x2dvolume-mounts-\\x5blcm\\x2dopenshift\\x2dnonprd\\x2dplatinum\\x2dnsg\\x5d\\x2000000000\\x2d0000\\x2d0000\\x2d0000\\x2d000000000000-openshift\\x2dweb\\x2dnonprod\\x2d\\x2dpvc\\x2d00000000\\x2d0000\\x2d0000\\x2d0000\\x2d000000000000.vmdk" must be under 255 characters, got 265


  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.7

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