We could potentially patch Charmed Kubernetes against this by not
reading /sys/class/dmi/id/product_uuid (https://github.com/charmed-
kubernetes/charm-kubernetes-
master/blob/master/reactive/kubernetes_master.py#L2244), but instead
using the workaround published by vmware at
https://kb.vmware.com/s/article/53609:
# dd if=/sys/firmware/dmi/entries/1-0/raw bs=1 count=24 status=none | python -c
'import struct; import sys; print("UUID: %08X-%04X-%04X-%04X-%04X%08X" %
struct.unpack(">8xLHHHHL", sys.stdin.read()))'
UUID: 44454C4C-5200-1058-8053-B4C04F573132
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dmidecode in Ubuntu.
https://bugs.launchpad.net/bugs/1851676
Title:
dmidecode decodes /sys/class/dmi/id/product_serial incorrectly
Status in dmidecode package in Ubuntu:
New
Bug description:
Hi,
On VMWare 6.5 and higher (HW version 13 and higher) when decoding
/sys/class/dmi/id/product_serial dmidecode produces an output whereby
the first 16 characters have been reversed in comparison to
/sys/class/dmi/id/product_uuid.
This manifests itself by breaking provisioning in Kubernetes and could
cause other issues down the line. Other OS such as redhat have already
patched this in their releases.
A demonstration of the issue can be found in this pastebin:
https://pastebin.canonical.com/p/qRfrpHXwGs/
VMWare Issue: https://kb.vmware.com/s/article/53609
Cheers!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1851676/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp