vSphere UUID discovery is broken on >=6.5+ machines

Bug #1883776 reported by Erlon R. Cruz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes Control Plane Charm
Fix Released
Medium
Erlon R. Cruz
Kubernetes Worker Charm
Fix Released
Medium
Erlon R. Cruz

Bug Description

When upgrading the vSphere hardware from 5.5 -> 6.5 no more PVCs
can be created. This happens because of a bug on the SEABIOS virtual hardware that swap the endianness of the content of
 /sys/class/dmi/id/product_uuid" on the new virtual hardware
versions and now it differs from "/sys/class/dmi/id/product_serial".
So,

The contents in product_uuid is: F5132842-20D4-6171-5DB0-7B96440CCF54
While the product_serial (actually correct and understood by vSphere API) is:422813f5-d420-7161-5db0-7b96440ccf54

The error in Kubernetes looks like this:

Error while obtaining Kubernetes node nodeVmDetail details. error : No VM found
Unable to find VM by UUID. VM UUID: df733542-342d-bfe2-dff0-9214803f2dca

Full log here: https://pastebin.ubuntu.com/p/yFGbKjpvDg/

description: updated
Revision history for this message
Erlon R. Cruz (sombrafam) wrote :
George Kraft (cynerva)
Changed in charm-kubernetes-master:
importance: Undecided → Medium
Changed in charm-kubernetes-worker:
importance: Undecided → Medium
Changed in charm-kubernetes-master:
status: New → In Progress
Changed in charm-kubernetes-worker:
status: New → In Progress
George Kraft (cynerva)
tags: added: review-needed
Changed in charm-kubernetes-master:
assignee: nobody → Erlon R. Cruz (sombrafam)
Changed in charm-kubernetes-worker:
assignee: nobody → Erlon R. Cruz (sombrafam)
Revision history for this message
Erlon R. Cruz (sombrafam) wrote :
Changed in charm-kubernetes-master:
milestone: none → 1.19+ck1
Changed in charm-kubernetes-worker:
milestone: none → 1.19+ck1
Revision history for this message
Erlon R. Cruz (sombrafam) wrote :
Changed in charm-kubernetes-master:
status: In Progress → Fix Committed
Changed in charm-kubernetes-worker:
status: In Progress → Fix Committed
tags: removed: review-needed
tags: added: backport-needed
tags: removed: backport-needed
Changed in charm-kubernetes-master:
status: Fix Committed → Fix Released
Changed in charm-kubernetes-worker:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.