Aria Automation deployments fails with error code "401 Unauthorized"
search cancel

Aria Automation deployments fails with error code "401 Unauthorized"

book

Article ID: 393130

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • Deployments are failing with the 401 unauthorized error.
  • The following error message is found within the /services-logs/prelude/provisioning-service-app/file-logs/provisioning-service-app.log:    

         ERROR provisioning [host='provisioning-service-app-xxxxxxxx-xxx' thread='reactor-http-epoll-6' user='' org='' trace='' parent='' span=''] c.v.a.naming.ebs.NamingEventProcessor.lambda$pollProjectServiceSubscriptionEvents$2:62 - [custom-naming] Failed to poll project lifecycle event
     topic com.vmware.automation.spring.webflux.platform.client.service.exception.WebClientServiceResponseException: ClientResponse has erroneous status code: 401 Unauthorized. WebClientServiceResponseException.ErrorDetails(timestamp=null, path=null, type=null, errorCode=0, messageKey=null, messageArguments=null,
     message=null, causeMessage=, status=null, error=null, exception=null, additional=null)
                at com.vmware.automation.spring.webflux.platform.client.WebClientUtil.toResponseException(WebClientUtil.java:617) ~[platform-client-3.1.997.999-xxxxxxx.jar:na]
                at com.vmware.automation.spring.webflux.platform.client.WebClientUtil.lambda$createResponseException$9(WebClientUtil.java:637) ~[platform-client-3.1.997.999-xxxxxxxx.jar:na]
                at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) ~[reactor-core-3.5.16.jar:3.5.16]

Environment

VMware Aria Automation 8.x

Cause

Aria Automation cannot connect to the vCenter / NSX Cloud Account due to incorrect credentials.

Resolution

Update the right credentials for both vCenter and NSX Cloud Account within Aria Automation.

Access Aria Automation Cloud accounts following the below path:

  • Infrastructure>> Connections>> Cloud Accounts
  • Re-enter the right credentials for both vCenter as well as NSX Cloud accounts.
  • Click Validate to confirm the credentials