Domain connection fails with 'Failed to manage Aria Operations adapter' error in SDDC Manager
search cancel

Domain connection fails with 'Failed to manage Aria Operations adapter' error in SDDC Manager

book

Article ID: 318229

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

  • After import of Aria Operations from Aria Lifecycle Manager, the connect to management or workload domain workflow in SDDC Manager fails with below errors:

Message: Failed to configure vCenter(Or any other product with an adapter) <product-fqdn> in vROps <vrops-fqdn>, because Failed to manage vROps adapter Remediation Message:
Reference Token: 92KH0S

Message: Failed to configure VMware Aria Operations for Logs in VMware Aria Operations ,
because Failed to manage VMware Aria Operations adapter

Remediation Message:
Reference Token: 9JP156
Cause: Failed to manage VMware Aria Operations adapter Failed to create
VMware Aria Operations adapter adapterconfiguration

  • In the var/log/vrlcm/vmware_vrlcm.log, you may find below entries:
Message: Failed to manage vROps adapter
Type: com.vmware.evo.sddc.common.vrealize.vrlcm.VrlcmException

Message: Failed to create vROps adapter [{"messageId":"LCMVROPSYSTEM25128","message":"Operation failed while configuring the adapter in vRealize Operations Manager","eventId":"b1b302d5-b2ed-####-####-#######de9","retry":false,"exceptionMessage":"Operation failed","exceptionStackTrace":"com.vmware.vrealize.lcm.plugin.common.vrops.exceptions.AdapterConfigurationException: Operation failed\n\tat com.vmware.vrealize.lcm.plugin.core.vrops.tasks.AdapterConfigurationTask.execute(AdapterConfigurationTask.java:122)\n\tat com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:45)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n\tat java.base/java.lang.Thread.run(Unknown Source)\n","properties":{}}]

ERROR vrlcm[1372] [pool-3-thread-10] [c.v.v.1.p.c.v. t. AdapterConfigurationTask]
ERROR vrlcm[1372] [pool-3-thread-10] [c. v.v. 1.p.c.v. t. AdapterConfigurationTask]
-- response data: {"message": "Internal Server error, cause unknown. ", "moreInformation": [ {"name": "errorMessage", "value":"Failed to create AI resource: Resource with key = {resName=vRealize Log Insight Adapter, resKind=LoginSight Adapter Instance, adKind=LogInsightAdapter, ids={IS_SINGLETON= - identifying, LOGINSIGHTURL= - informational
}} already exists. "}, {"name": "localizedMessage", "value": "Failed to create AI resource. Resource with same key already exists. ;"} ], "httpStatusCode": 500, "apiErrorCode" : 500)

Environment

VMware Cloud Foundation 5.x

Cause

This issue occurs when the adapter instance is manually configured in Aria Operations instead of being managed through SDDC Manager

Resolution

  1. Log in to the Aria Operations UI.

  2. Delete manually created adapter instances with the <product-fqdn>.

  3. Under Administration->Management->Credentials, delete credentials object related to <product-fqdn>.

  4. Retry the failed workflow from SDDC Manager.