Identity Broker installation fails with error VROPSVIDBCONFIG0009 and "collector marked for delete"
search cancel

Identity Broker installation fails with error VROPSVIDBCONFIG0009 and "collector marked for delete"

book

Article ID: 450141

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer VMware Cloud Foundation VCF Operations

Issue/Introduction

  • When installing the Identity Broker using Fleet Lifecycle in VMware Cloud Foundation (VCF) 9.1 Installer, the task fails during the component registration phase.
  • In VCF Installer - Install Identity Broker using Fleet Lifecycle failed with below error:
    The Fleet lifecycle 'VSP component installation' task with ID 019f####-####-####-####-########fabc failed. Internal errors: Unable to register components with VCF Operations. Navigate to 'https://<vcf_ops_fqdn>/vcf-operations/ui/home/administration/control-panel/management-tasks/lcm/tasks' for more details.,

     

  • Error in https://<vcf_ops_fqdn>/vcf-operations/ui/home/administration/control-panel/management-tasks/lcm/tasks
    Error Code: VROPSVIDBCONFIG0009
    Error occurred while adding VMware Identity Broker from VMware Aria Operations :: null
    
    
    java.lang.reflect.UndeclaredThrowableException
     at jdk.proxy3/jdk.proxy3.$Proxy225.executeVidbApiTask(Unknown Source)
     at com.vmware.vrealize.lcm.plugin.core.vrops.tasks.vidb.AddExternalVidbTask.createExternalVidbInstance(AddExternalVidbTask.java:119)
     at com.vmware.vrealize.lcm.plugin.core.vrops.tasks.vidb.AddExternalVidbTask.execute(AddExternalVidbTask.java:92)
     at com.vmware.vrealize.lcm.platform.automata.service.Task.retry(Task.java:76)
     at com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:48)
     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
     at java.base/java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.reflect.InvocationTargetException
     at jdk.internal.reflect.GeneratedMethodAccessor668.invoke(Unknown Source)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.base/java.lang.reflect.Method.invoke(Unknown Source)
     at com.integrien.alive.controller.Controller.lambda$createProxyHandler$2(Controller.java:1601)
     ... 8 more
    Caused by: java.lang.RuntimeException: Failed to create AI resource: message=collector with id = [ID] marked for delete, localizedMessage=Specified collector marked for delete., code=0
     at com.vmware.vcops.bridge.server.vidb.api.impl.ExternalVidbApi.handleCreate(ExternalVidbApi.java:170)
     at com.vmware.vcops.bridge.server.vidb.api.impl.BaseVidbApiImpl.lambda$0(BaseVidbApiImpl.java:86)
     at java.base/java.util.Optional.map(Unknown Source)
     at com.vmware.vcops.bridge.server.vidb.api.impl.BaseVidbApiImpl.execute(BaseVidbApiImpl.java:86)
     at com.vmware.vcops.bridge.server.vidb.api.VidbApiContext.execute(VidbApiContext.java:71)
     at com.vmware.vcops.bridge.server.vidb.VidbManager.executeApiTask_aroundBody0(VidbManager.java:97)
     at com.vmware.vcops.bridge.server.vidb.VidbManager.executeApiTask_aroundBody1$advice(VidbManager.java:99)
     at com.vmware.vcops.bridge.server.vidb.VidbManager.executeApiTask(VidbManager.java:1)
     at com.vmware.vcops.bridge.server.DataRetrieverServer.executeVidbApiTask(DataRetrieverServer.java:16308)
     ... 12 more

     

  • SDDC Manager's /var/log/vmware/vcf/domainmanager/domainmanager.log reports the below error
    ERROR [vcf_dm,#######################,####] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-423]  [######] PUBLIC_FLEET_LCM_TASK_FAILED The Fleet lifecycle {0} task with ID ########-####-####-####-############ failed. Internal errors: Unable to register components with VCF Operations.

     

  • VCF Ops /storage/log/vcops/log/component-manager-plugin-##.log reports the below error
    ERROR component-manager-plugin #### [ops@4413 threadId="#####" threadName="ComponentManagerTaskEngine-6" operationId=""] [com.vmware.vrealize.lcm.plugin.core.vrops.tasks.vidb.AddExternalVidbTask.createExternalVidbInstance] - Failed to add the VIDB adapter for vidb host <vidb_fqdn> :: java.lang.reflect.UndeclaredThrowableException
    ERROR component-manager-plugin #### [ops@4413 threadId="#####" threadName="ComponentManagerTaskEngine-6" operationId=""] [com.vmware.vrealize.lcm.plugin.core.vrops.tasks.vidb.AddExternalVidbTask.execute] - Error integrating VCF Identity Broker with VMware Aria Operations
    java.lang.reflect.UndeclaredThrowableException
            at jdk.proxy3/jdk.proxy3.$Proxy225.executeVidbApiTask(Unknown Source)
    
    
    Caused by: java.lang.RuntimeException: Failed to create AI resource: message=collector with id = [ID] marked for delete, localizedMessage=Specified collector marked for delete., code=0

Environment

  • VMware Cloud Foundation (VCF) 9.1
  • VCF Operations
  • VMware Identity Broker (VIDB)

Cause

The failure occurs because VCF Operations references a stale data collector ID (e.g., ID ##) that has been flagged for deletion in the internal management layers. Even if the collector does not appear in the active collector table of the vcops database or the casa.db.script, a stale registration for the Identity Broker integration still points to this invalid collector ID, blocking the creation of the AI resource.

Resolution

To resolve this issue, perform a clean-up of the stale collector in VCF Ops and synchronize the VCF Operations state.

  1. Take a virtual machine snapshot of the VCF Operations appliance(s).
  2. Access the VCF Ops Suite API
    https://<vcfops_fqdn>/suite-api
  3. Click on "Authorize" and provide username as admin@local and password of admin@local account
  4. Navigate to "Collectors" and exapnd GET /api/collectors
  5. Click on "Try it out" and click "Execute"
  6. Review the output and and look for "id"
  7. Check if the ID (collector with id = [ID]) reported in component-manager-plugin-##.log exists in the output.