"Error executing patch operations" while updating vCenter Cloud account password in Aria Automation
search cancel

"Error executing patch operations" while updating vCenter Cloud account password in Aria Automation

book

Article ID: 442637

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • When attempting to update the password for a vCenter Cloud account in Aria Automation, the operation fails with the following error message: "Error executing patch operations while creating/updating endpoint."



  • Checking  /services-logs/prelude/provisioning-service-app/file-logs/provisioning-service-app.log  on Aria Automation node indicate the compute resource is marked as deleted:

    .190Z INFO provisioning [host='provisioning-service-app-#######-####' thread='xn-index-queries-16' user='user_id' org='#####-#########-########-########' trace='############' parent='#############' span='#############'] c.v.a.c.endpoint.EndpointAdapterService.log:416 - [8282/provisioning/mgmt/endpoints] All endpoints expanded with credentials.
    .192Z WARN provisioning [host='provisioning-service-app-########-#####' thread='xn-index-queries-16' user='user_id' org='#####-#########-########-########' trace='############' parent='#############' span='#############'] c.v.xenon.common.ServiceErrorResponse.create:85 - message: Service marked deleted: /resources/compute/compute_id, statusCode: 409, serverErrorId: <server_error_id>: Caused by java.lang.IllegalStateException: Service marked deleted: /resources/compute/compute_id
                    at com.vmware.xenon.common.Operation.failServiceMarkedDeleted(Operation.java:288)
                    at com.vmware.xenon.common.SpringHostUtils.checkServiceExistsOrDeleted(SpringHostUtils.java:662)
                    at com.vmware.xenon.common.SpringHostUtils.handleLoadInitialStateCompletion(SpringHostUtils.java:613)
                    at com.vmware.xenon.common.SpringHostUtils.lambda$loadInitialServiceState$9(SpringHostUtils.java:592)
                    at com.vmware.xenon.common.Operation.completeOrFail(Operation.java:1326)
                    at com.vmware.xenon.common.Operation.complete(Operation.java:1153)
                    at com.vmware.xenon.services.rdbms.PostgresDocumentIndexService.queryIndexSingle(PostgresDocumentIndexService.java:557)

     
  • Checking /services-logs/prelude/envoy/file-log/envoy.log on Aria Automation node we see the manual deletion of the compute host document via the Bruno REST client

    [.658Z] "DELETE /provisioning/uerp/resources/compute/compute_id HTTP/1.1" 200 - 0 1248 30 29 "###.###.###.###" "bruno-runtime/3.3.0" "####-#####-#####-######" "aria_automation_fqdn" "###.###.###.###:8282"

Environment

Aria Automation 8.18.x

Cause

This may occur if the compute host document linked to the respective cloud account is deleted or corrupted but the provisioning db still points to that deleted compute resource.

Resolution

To resolve this issue, contact Broadcom Technical Support and note this Knowledge Article ID (442637) in the problem description. For more information, see How to Submit a Support Request