Error "Cannot complete login due to an incorrect user name or password." while adding an account for Aria Automation Orchestrator in Aria Operations
search cancel

Error "Cannot complete login due to an incorrect user name or password." while adding an account for Aria Automation Orchestrator in Aria Operations

book

Article ID: 322715

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • Aria Operations Management Pack for Aria Automation Orchestrator fails to add as an integration with error "Cannot complete login due to an incorrect user name or password".
  • In the vRealizeOrchestratorAdapter.log on Aria Operations, you see:
    2025-04-05T08:29:23,124+0000 ERROR [Collector worker thread 25] (362) com.vmware.adapter3.vro.vRealizeOrchestratorAdapter.getVcuuids - Error :org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 Unauthorized        at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:81) ~[spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE]
    at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:122) ~[spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE]
    at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:102) ~[spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE]
    at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE]
    2025-04-05T08:29:23,125+0000 ERROR [Collector worker thread 25] (362) com.vmware.adapter3.vro.vRealizeOrchestratorAdapter.onCollect - Not able to retrive the vcId,Please check the vRO Setup,So making the adapter instance down

Environment

Aria Operations 8.x

Aria Automation/Orchestrator 8.x

Cause

This issue is caused by the Basic Authentication configuration being disabled by default in Aria Automation Orchestrator. The Aria Operations Management Pack uses Basic Authentication for authentication, which leads to the error when it's disabled.

Resolution

You can enable basic authentication for your Aria Automation Orchestrator deployment by setting a system property.

The basic authentication of your Aria Automation Orchestrator deployment is disabled by default. In certain use cases you must enable this authentication by setting the com.vmware.o11n.sso.basic-authentication.enabled system property. For example, you must enable this system property if you are planning on using the Aria Orchestrator Multi-Node plug-in for deployments which are authenticated with Aria Automation.

To do so, please follow the below step: 

  1. Log in to the vRO Control Center (https://FQDN_or_IP_address:443/vco-controlcenter) as root.
  2. Select System Properties.
  3. Click New.
  4. Under Key, enter com.vmware.o11n.sso.basic-authentication.enabled.
  5. Under Value, enter true.
  6. (Optional) Enter a description for the new system property.
  7. Click Add, and wait for the Aria Automation Orchestrator server to restart.

For Aria Automation 8.18.1 and above Control Center is removed , use vracli command to set the value from CLI. Run the bellow command

vracli vro properties set -k com.vmware.o11n.sso.basic-authentication.enabled -v true

Once this is done, the vro POD will be recreated.

Retry adding the account on Aria Operations now

Additional Information

If you are unable to see the workflows on Guest OS actions, please enable them as described here -https://www.brockpeterson.com/post/vmware-aria-operations-management-pack-for-aria-automation-orchestrator