VSphere cluster health checks are failing with CheckDefaultDatastore in OpenShift Container Platform 4.
Issue
- Alert "CheckDefaultDatastore" is firing as per following logs on
openshift-cluster-storage-operator
namespace:
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
Environment
- Red Hat OpenShift Container Platform 4(RHOCP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.