ViPR Controller: Duplicate UUID causes ESX host discovery failure

Summary: Two ESX hosts with the same UUID results in one host not getting discovered

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



The user performs a vCenter discovery in ViPR Controller in order to detect a new ESX host and have the host discovered.

The vCenter discovery task completes successfully but the ViPR Controller host inventory does not contain the new host.

For example, an ESX host with an FQDN of esx-host01.domain.com is added to vCenter followed by a vCenter discovery in ViPR Controller.

The ViPR Controller controllersvc log:
vipr1 controllersvc 2019-04-15 13:23:19,408 [2900|vcenter|CS_Discovery|null|84ca3a18-aa3e-4865-88c6-cdbf03f4aed3]  INFO  AbstractDiscoveryAdapter.java (line 399) Connection status for host esx-host01.domain.com (urn:storageos:Host:6ab6905d-dccf-4e0a-aeff-832aa71a9946:vdc1) is connected

vipr1 controllersvc 2019-04-15 13:23:19,408 [2900|vcenter|CS_Discovery|null|84ca3a18-aa3e-4865-88c6-cdbf03f4aed3]  INFO  AbstractDiscoveryAdapter.java (line 401) Discovering IP interfaces for esx-host01.domain.com (urn:storageos:Host:6ab6905d-dccf-4e0a-aeff-832aa71a9946:vdc1)

vipr1 controllersvc 2019-04-15 13:23:19,859 [2900|vcenter|CS_Discovery|null|84ca3a18-aa3e-4865-88c6-cdbf03f4aed3]  INFO  AbstractDiscoveryAdapter.java (line 401) Discovering initiators for esx-host01.domain.com (urn:storageos:Host:6ab6905d-dccf-4e0a-aeff-832aa71a9946:vdc1)

The dbutils.list.Host.txt file from a slither collection or diagutils collection shows the above Host URN and that it is associated to a host that is not esx-host01.domain.com.

The dbutils.list.Initiator.txt file from a slither collection or diagutils collection shows one or more Initiator records for esx-host01.domain.com however the Host URN associated to these initiators is not associated to esx-host01.domain.com.

Cause

When performing a vCenter discovery, ViPR Controller connects to the vCenter Managed Object Browser(MOB) in order to gather host details such as the host's UUID and initiator WWNs.

In the above example, host esx-host01.domain.com has a UUID that is conflicting with a UUID of an ESX host that is already discovered in ViPR Controller.

The duplicate UUIDs results in ViPR Controller not being able to determine that these are two different hosts and prevents the DB from being populated with the host details.

Resolution

The UUID for an ESX host must be unique and the duplication issue has to be addressed before proceeding with further action in ViPR Controller.

Once the duplicate UUID issue has been resolved, perform a vCenter discovery in ViPR Controller and confirm that the host is visible from the host inventory.

If the host is not visible in the host inventory or is visible but in an error state please contact the DELL EMC Customer Support Center or your service representative for technical assistance and quote this article ID.

Note: If Cisco UCS Manager is being used to provision the hosts then the duplicate UUID issue can result from incorrectly configured UCS domains. For example, two UCS domains using the same UUID pool will result in the duplication of UUIDs.

Additional Information

Steps to login and browse the vCenter Managed Object Browser in order to view a host's UUID
  1. In a browser enter the following URL
    • https://<vCenter IP>/mob
  2. Enter the vCenter username and password when prompted
  3. Browser the MOD to view the host's UUID by selecting:
1 content ServiceContent content
2 rootFolder ManagedObjectReference:Folder group-d1 (Datacenters)
3 childEntity ManagedObjectReference:ManagedEntity <datacenter>
4 hostFolder ManagedObjectReference:Folder group-h4 (host)
5 childEntity ManagedObjectReference:ManagedEntity <domain>
6 host ManagedObjectReference:HostSystem <host>
7 hardware HostHardwareInfo hardware
8 systemInfo HostSystemInfo systemInfo
9 uuid string <UUID>

Note: The above can be accessed via the URL https://<vCenter IP>/mob/?moid=host-<Host ID>&doPath=hardware%2esystemInfo
Article Properties
Article Number: 000168229
Article Type: Solution
Last Modified: 20 Nov 2020
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.