Error: 'vCenter was deleted' is reported in Aria Operations for vSphere license
search cancel

Error: 'vCenter was deleted' is reported in Aria Operations for vSphere license

book

Article ID: 400176

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • vSphere 8 for VCF license on Aria Operations (Administration -> Legacy License) does not show "entitled", and the error "vCenter was deleted." is reported.
  • The license has been applied on the vCenter Server as per this KB. 
  • The vCenter where the VCF license is applied is part of Aria Operations (Administration -> Integrations) and is collecting.
  • The user ID used for the vCenter integration on Aria Operations is part of the LicenseService and Administrators group in vCenter.
  • Aria Operations UI may display "You are in an evaluation mode or in a grace period. Add a VMware Cloud Foundation or VMware vSphere Foundation license... or use the legacy license model." alert. 

Environment

Aria Operations 8.18.x

Cause

This issue occurs if the vCenter with VCF license was removed from Aria Operations at some point.

Resolution

(1) Identify the specific vCenter adapter(s) to remove by collecting/comparing these two outputs. 

              (a) SSH to Aria Operations and note the output of the vc_id and it's status from the following command:

      su - postgres -c "/opt/vmware/vpostgres/current/bin/psql -d vcopsdb -p 5433 -c 'select * from vcenter_license_mapping;'

              (b) Export the integrations JSON from Aria Operations - see below screenshot.

                   

(2)  If the vCenter ID is showing as -2 within the postgres output. And that vc_id also exists within the integration JSON. These are the vCenter adapter names that need updating.

{Example - see how 6era11ff-21j7-4oc4-9b43-86a032c66ff2 vc_id has -2 status and maps to the hostname myvcenterhostname.local}

    •  Postgres output

6era11ff-21j7-4oc4-9b43-86a032c66ff2 |    -2  | vSphere 8 Enterprise Plus for VCF

    • Integrations JSON
               "resourceName": "myvcenterhostname.local"

         "resourceUUID": "6era11ff-21j7-4oc4-9b43-86a032c66ff2"

(3) Follow the steps below after taking snapshots of all Analytics nodes in the Aria Operations cluster as per this KB. 

(4) Login to Aria Operations UI to remove and readd the affected vCenter integrations.

  • Navigate to Administration -> Integrations.
  • Find the vCenter where the VCF license is applied, select the three vertical ellipses, and click on 'Delete'.
  • Ensure to keep the 'Delete related objects' unchecked to preserve historical data.

  • After deleting the account, re-add the vCenter adapter by adding back the credentials and hostname. 
  • Wait for about 1-2 collection cycles and check the Legacy License page.
  • The VCF license should show 'ENTITLED' now.

Additional Information

Contact Broadcom Support by attaching these outputs to a new case if you require further assistance with these steps.