How to check 'disk.enableUUID' parameter from VM in vSphere.

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
  • Openshift Container Platform OCP 3.X & 4.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In