Details
-
Bug
-
Resolution: Fixed
-
Low
-
4.21.2
-
None
-
1
-
Severity 3 - Minor
-
Description
Issue Summary
While scanning vCenter with InsightDiscovery (ESXI_VirtualMachines.pat). The UUID returned for a VM is incorrect, which is shown in the vCenter GUI nor inside the VM (wmic bios get serialnumber).
Steps to Reproduce
- Use ESXI_VirtualMachines.pat to scan from vCenter.
Expected Results
UUID returned is correct
Actual Results
UUID returned is wrong
...
Workaround
The workaround is provided by One of our customers
A quick fix in the file ESXi_VirtualMachines.pat :
// if (!string.IsNullOrEmpty(vim.Config.InstanceUuid))
//
// else
//
if (vim.Config.Uuid != null)
{ vmGuest.UUID = vim.Config.Uuid; LogService.Instance.LogDebug("Set UUID based on Config.Uuid: " + vim.Config.Uuid); }else
{ LogService.Instance.LogDebug("VM UUID not available for: " + vim.Name); }