How to check and set the disk.EnableUUID parameter from VM in vSphere for OpenShift Container Platform

Solution Verified - Updated -

Issue

The parameter disk.EnableUUID is necessary so that the VMDK always presents a consistent UUID to the VM, thus allowing the disk to be mounted properly. For each of the virtual machine nodes that will be participating in the cluster, follow the steps below from the vSphere nodes:

[root@ocphost ~]# ./govc_linux_amd64 vm.info -json -vm.ip='redacted' | jq -r '.VirtualMachines[].Config.ExtraConfig[] | select(.Key=="disk.EnableUUID")'
{
  "Key": "disk.EnableUUID",
  "Value": "TRUE"
}

Environment

  • VMware vSphere 5.X & 6.X & 7.x
  • OpenShift Container Platform OCP 3.X & 4.X

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