#431 Set "disk.EnableUUID = True" in vSphere OVA for Atomic Host
Opened 6 years ago by clcollins. Modified 6 years ago

The vSphere Cloud Provider for Kubernetes/OpenShift requires that "disk.EnableUUID = True" be set for the node VMs to be able to identify the dynamically provisioned VMDKs that are mounted into the containers for dynamically created persistent storage volumes. (See: https://kubernetes.io/docs/getting-started-guides/vsphere/#enable-vsphere-cloud-provider ; and: https://docs.openshift.org/latest/install_config/configuring_vsphere.html#vsphere-enabling)

Setting "disk.EnableUUID = True" allows disks to show up in /dev/disk/by-uuid when they're added to the VM.

We can set it manually each time we create a new node, but the potential to forget is high, and the consequences would be unfortunate (pods would no longer be able to mount storage when scheduled on nodes without the setting).

Considering a lot of the focus on Atomic Host is for Kubernetes & OpenShift, and folks using the vSphere OVA for Atomic would probably like to use the vSphere provisioning with it, this might make sense to be a default setting.

Ideally this would apply to the Red Hat and CentOS Atomic OVAs as well.

Included for more info:

I asked about this in the #Atomic channel, and the replies mentioned -

(03:10:36 PM) walters: it's going to involve changes to https://github.com/redhat-imaging/imagefactory/ most likely
(03:11:35 PM) walters: specifically https://github.com/redhat-imaging/imagefactory/blob/master/imagefactory_plugins/OVA/OVA.py I believe


Login to comment on this ticket.

Metadata