• 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

            vgedzhev (Inactive) made changes -
            Fix Version/s New: 3.1.2 [ 61430 ]
            vgedzhev (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            vgedzhev (Inactive) made changes -
            Status Original: In Review [ 10051 ] New: Waiting for Release [ 12075 ]
            vgedzhev (Inactive) made changes -
            Status Original: In Progress [ 3 ] New: In Review [ 10051 ]
            vgedzhev (Inactive) made changes -
            Status Original: Gathering Impact [ 12072 ] New: In Progress [ 3 ]
            vgedzhev (Inactive) made changes -
            Assignee New: vgedzhev [ 8a797fe2b442 ]
            yyao (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Bugfix Automation Bot made changes -
            Support reference count New: 1
            Shiwani Choudhary created issue -

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

                Created:
                Updated:
                Resolved: