• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.1.2
    • 4.21.2
    • Assets Discovery
    • None

      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

      1. 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))
      //

      { // vmGuest.UUID = vim.Config.InstanceUuid; // LogService.Instance.LogDebug("Set UUID based on Config.InstanceUuid: " + vim.Config.InstanceUuid); // }

      // else
      //

      { // LogService.Instance.LogDebug("VM UUID not available for: " + vim.Name); // }

      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); }

            [JSDSERVER-11113] Wrong UUID is scanned from vCenter to InsightDiscovery

            There are no comments yet on this issue.

              8a797fe2b442 vgedzhev (Inactive)
              6f6f0ed1241f Shiwani Choudhary
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: