Score:0

CentOS VM on VMware ESXI: System UUID and Serial number not same

fi flag

We are running CentOS 7.9 with OKD cluster 3.11 on VMware ESXi 6.7.0.

As part of our activities, we are trying to setup cloud-provider integration with the VMware to have dynamic PV/PVC provisioning in place.

While following the guide, we come to know, that product_serial and "System UUID" of the virtual machines should be the same. (bug-report, solution) We checked the files as suggested, and values were different.

Please see sample output from DMIdecode:

System Information
        Manufacturer: VMware, Inc.
        Product Name: VMware Virtual Platform
        Version: None
        Serial Number: VMware-56 4d 3e 3d 9c 26 28 68-25 ee 86 7d c8 a1 72 f4
        UUID: 3d3e4d56-269c-6828-25ee-867dc8a172f4
        Wake-up Type: Power Switch
        SKU Number: Not Specified
        Family: Not Specified

In addition to that we have checked another environment that is running on another hypervisor - openstack, and there values are identical.

What we also did try, is to change/force another value via .vmx files as suggested here, but that still did not make changes to the UUID, only to Serial Number.

In addition to that, the same is true for fresh installation of Ubuntu 20.04 LTS release, System UUID and Serial do not match.

Question being, are we missing something on the vmWare configuration level or the OS itself?

How we checked:

$ cat /sys/class/dmi/id/product_serial
$ cat /sys/class/dmi/id/product_uuid
$ oc describe node nodename | grep -i "System UUID"
Score:0
fi flag

The solution to the described issue is to change the .vmx file SMbios version: acpi.smbiosVersion2.7 = "FALSE" This will set SMBios version to 2.4 and serial together with UUID will be read properly.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.