Duplicate VCF adapter instances populate in the VCF Operations integrations
search cancel

Duplicate VCF adapter instances populate in the VCF Operations integrations

book

Article ID: 436026

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

In VCF Operations, duplicate VCF adapter instances continue to populate within integrations. Even after manual attempts to clear the integration, the duplicate entries reappear in the UI.

Environment

  • VCF Operations 9.0.x

Cause

This issue occurs when the VCF Fleet Management database contains multiple entries for the same VCF instance within a single environment. This redundancy leads the integration to repeatedly push duplicate records to VCF Operations.

Resolution

Before proceeding, take snapshots of both the Fleet Management appliance and the VCF Operations cluster nodes.
  1. Remove duplicate VCF instances from the VCF Operations UI
    1. Log in to the VCF Operations UI as an admin user (https://<VCF_Operations_FQDN_IP>).
    2. From the left panel, navigate to Configuration > Inventory Management.
    3. In the middle pane, expand Adapter Instances and select the VMware Cloud Foundation adapter instance.
    4. Identify and delete all duplicate VMware Cloud Foundation objects from the inventory.
    5. Refresh the UI and return to the Integrations page to confirm that no duplicate VMware Cloud Foundation instances are displayed.

  2. Remove duplicate VCF instances from Fleet Management via API
    1. In the VCF Operations UI, go to Developer Center > APIs & SDKs and select the Fleet Management API.
    2. Authorize using a token using How to Authorize VCF Operations Fleet Management API
    3. Retrieve registered instances using:
      1. Endpoint: SDDC Manager Controller
      2. Method: GET /lcm/lcops/api/sddc-managers
    4. Review the response and identify duplicate VCF instance entries. Note the corresponding IDs.
    5. Delete each duplicate entry using:
      1. Endpoint: SDDC Manager Controller
      2. Method: DELETE /lcm/lcops/api/sddc-managers/{vmid} (Replace {vmid} with the ID of the duplicate instance.)

  3. Verification
    1. Perform an inventory synchronization in VCF Fleet Management for VCF Operations.
    2. Then, in VCF Operations, navigate to Administration > Integrations and re-integrate the VCF adapter instance.
    3. Monitor the environment to ensure that duplicate VCF adapter instances no longer appear automatically.