As of Rancher v2.0.4, disk UUIDs are enabled in vSphere node templates by default.

For Rancher prior to v2.0.4, we recommend configuring a vSphere node template to automatically enable disk UUIDs because they are required for Rancher to manipulate vSphere resources.

To enable disk UUIDs for all VMs created for a cluster,

  1. Navigate to the Node Templates in the Rancher UI while logged in as an administrator.

  2. Add or edit an existing vSphere node template.

  3. Under Instance Options click on Add Parameter.

  4. Enter disk.enableUUID as key with a value of TRUE.

    vsphere-nodedriver-enable-uuid

  5. Click Create or Save.

Result: The disk UUID is enabled in the vSphere node template.