Notifications

51 views

Description

Vcenter discovery does not use Identification and Reconciliation engine to uniquely identify a CI but a function within script include VCenterESXHostsSensor is used instead.

Line 36: index: [ esxCorrelationIdIndex, ['serial_number'] ]

If the ESX servers discovered in the payload do not already exist in CMDB, 'esxCorrelationIdIndex' will not return results, which means that serial_number will then be used to uniquely identify a CI. Now, if the discovered ESX servers have duplicate serial_number in the payload, then only one ESX server CI record will be created and attributes such as name, correlation_id etc. will be overwritten with the name, correlation_id of the next ESX server with the same serial number.

Steps to Reproduce

  1. Run Vcenter discovery in an environment where ESX servers have duplicate serial numbers.

Workaround

This problem has been fixed. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.

Modify the CI identifier in script include VCenterESXHostsSensor. For example, use correlation_id first if it can be trusted to uniquely identify a CI in your environment.

  1. Edit line 36 of "VCenterESXHostsSensor" script include 
  2. Replace index: [ esxCorrelationIdIndex, ['serial_number'] ], with index: [ esxCorrelationIdIndex, ['correlation_id'], ['serial_number'] ], 
  3. Click on Update 

Related Problem: PRB1323765

Seen In

There is no data to report.

Intended Fix Version

New York

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:44:12
Published:2019-05-02