VM's uuid changes after every (system) reboot

Description

My (windows) VM's have the issue of changing uuid's on truenas SCALE 22.02 RC 2. I have software which creates a unique HW id based on the "bios" UUID and MAC adresses of NIC's available, altough i can fix the nics in windows by assigning them MAC adresses, i can't enforce the UUID as this is normaly a component of the motherboard bios.

I did notice it in the /etc/libvirt/qemu/'vm-name'.xml but with a explicit notice to not edit this file as its edited else by scripts, which is logical seeing my issue.

Would it be possible to keep the UUID static upon creating the VM, or have the option in advanced vm creation to set the UUID static instead of the current dynamic changing behaviour.

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk March 3, 2022 at 7:31 AM

Bug Clerk March 3, 2022 at 7:29 AM

aadje93 February 24, 2022 at 11:08 AM

Hi William,

at first Windows 10 would lose its activation after every reboot, because i was tinkering with finetuning the cpu settings i thought that was the problem at first. But after that was done it kept losing its activation status. Then after investigation i noticed the UUID changing. Now i use that VM as host for Nx witness which also creates a "HW ID" based on the bios uudi provided to the host (normaly the motherboard, now in KVM its supplied by kvm -> and changing every boot) and the MAC adresses of the nics attached.

After some googling i found the following Jira inquery: 

https://jira.ixsystems.com/browse/NAS-109770?jql=summary%20~%20%22libvirt*%22%20OR%20description%20~%20%22kvm*%22%20ORDER%20BY%20lastViewed%20DESC

so i'm not the first one experiencing this. It would be a simple script edit in midleware D to stop this behaviour of changing the uuid. I would realy like to transfer all business VM's to truenas scale to get 1 pack to manage all and drop proxmox. But for now, i can't even set it for static uuid like i can in proxmox which is holding me back to "duplicate" a few not super critical VM's as test for some time.

William Gryzbowski February 23, 2022 at 3:58 PM

can you disclosure what software is this? I am trying to access the impact of us to our users.

aadje93 February 22, 2022 at 8:30 PM

its not necceseary to expose the hardware bios UUID, but keeping the same UUID should be possible right? Why randomize it?

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Impact

High

Time remaining

0m

Components

Affects versions

Priority

Katalon Platform

Created February 19, 2022 at 10:34 PM
Updated July 6, 2022 at 8:57 PM
Resolved March 3, 2022 at 5:26 PM