When deleting the VRA deployment with NSX components, delete request is failing with error similar to :
Deleting segment [vm_dvlan100].: NSX Error Message: [Cannot execute request].
The deployment status is changing to "Delete Failed" and the network0 from the deployment is still available.
The following error message is found within the log below
/services-logs/prelude/tango-blueprint-service-app/file-logs/tango-blueprint-service-app.log
2025-03-11T01:24:39.613Z INFO tango-blueprint [host='tango-blueprint-service-app-6bb9cb798b-tp8bx' thread='http-nio-8080-exec-2' user='catalog-A8frBwS19d5IRTRS(CatalogID)' org='cb6474e8-d563-4b65-b2bd-c9976907ed8d' blueprint='' project='baced118-3c97-4dd6-b70f-8b39afff5bad' deployment='f263e9db-1684-4fa1-b7c4-68d27164f7c6' request='ef89efe2-8433-446f-88da-cf3c30a64375' flow='' task='' tile='' resourceName='' operation='' trace='67cf90d77febebd295b713caf69013ef'] com.vmware.tango.blueprint.gateway.DeploymentRequestTrackerGateway - Created request tracker: ef89efe2-8433-446f-88da-cf3c30a64375
2025-03-11T01:24:39.613Z INFO tango-blueprint [host='tango-blueprint-service-app-6bb9cb798b-tp8bx' thread='Thread-12152' user='' org='' blueprint='' project='' deployment='' request='' flow='' task='' tile='' resourceName='' operation='' trace=''] com.vmware.tango.blueprint.gateway.EventBrokerGateway - Audit Log : Audit Log successfully saved for the Day2 Action : AuditLog(message=Day2 action Delete Deployment submitted on deployment test_deployment, eventType=DAY2_ACTION_SUBMITTED, severity=INFO, userName=test_user, orgId=cb6474e8-d563-4b65-b2bd-c9976907ed8d, projectId=baced118-3c97-4dd6-b70f-8b39afff5bad, traceId=67cf90d77febebd295b713caf69013ef, eventDate=Tue Mar 11 01:24:39 GMT 2025)
2025-03-11T01:27:26.917Z ERROR tango-blueprint [host='tango-blueprint-service-app-6bb9cb798b-tp8bx' thread='tasks-107990' user='test_user' org='cb6474e8-d563-4b65-b2bd-c9976907ed8d' blueprint='' project='baced118-3c97-4dd6-b70f-8b39afff5bad' deployment='f263e9db-1684-4fa1-b7c4-68d27164f7c6' request='ef89efe2-8433-446f-88da-cf3c30a64375' flow='6bf75dc1-c621-489a-ac17-5e043d54306b' task='5f276783-3410-4071-b7e8-ed0572f1084f' tile='a006c91e-bacf-49c5-8f33-8c5a5f5908ad' resourceName='' operation='' trace='67cf90d77febebd295b713caf69013ef'] com.vmware.tango.blueprint.provider.ResourceTileService - delete request Failed: Deleting segment [vm_dvlan100].: NSX Error Message: [Cannot execute request].
2025-03-11T01:57:42.535Z ERROR tango-vro-gateway [host='tango-vro-gateway-app-cc94c9fbb-64mtm' thread='jdbc-66' user='' org='' trace='' parent='' span=''] c.v.a.v.g.e.SubscriptionEventProcessor.lambda$processEvent$8:153 - Processing event Event(super=BaseEvent(id=05ca2a79-ce7e-4c20-8192-77663727efdd, sourceType=Deployment, sourceIdentity=Deployment, timeStamp=Tue Mar 11 01:27:28 GMT 2025, headers={tokenId=Abcdefghijk+NwcFCyxh9cekhE0I2NBli+ZFATYDs=, blocking=false, traceparent=00-67cf98943ba7d1029860687f921169e4-66f915364fc9ccfb-00, runnableType=extensibility.vro, encryption-context=f263e9db-1684-4fa1-b7c4-68d27164f7c6, eventTraceEntryId=5c2345e8-1e36-49d8-85be-bdd00ad5f09c, runnableId=1c00f7f4-eb3b-47f1-9631-0cb8b7168fbe}, data={requestType=CATALOG, catalogItemVersion=0.0.5, blueprintVersion=0.0.1, description=, contextId=05ca2a79-ce7e-4c20-8192-77663727efdd, deploymentOwner=ExampleDeploymentOwner, eventType=DESTROY_DEPLOYMENT, userName=test_user, blueprintId=3033a06d-d930-4e91-844d-19e701e5d034, userId=example.domain.com:47d92007-5ec0-4d9d-bb29-c8089ec41afb, orgId=cb6474e8-d563-4b65-b2bd-c9976907ed8d, catalogItemId=e33935bf-56c3-4a50-ba8f-b1c577c45e28, deploymentId=f263e9db-1684-4fa1-b7c4-68d27164f7c6, requestInputs={}, deploymentName=test_deployment, id=ef89efe2-8433-446f-88da-cf3c30a64375, projectName=ExampleProject, failureMessage=Deleting segment [vm_dvlan100].: NSX Error Message: [Cannot execute request]., projectId=baced118-3c97-4dd6-b70f-8b39afff5bad, status=FAILED}), eventType=EVENT, eventTopicId=deployment.request.post, correlationType=Deployment, correlationId=f263e9db-1684-4fa1-b7c4-68d27164f7c6, description=null, targetType=null, targetId=nul
In the provisioning logs /services-logs/prelude/provisioning-service-app/file-logs/provisioning-service-app.log:
2025-03-11T08:37:44.829Z INFO provisioning [host='provisioning-service-app-78b87c5684-hz8mr' thread='xn-index-queries-1' user='' org='' trace='67cff5debf03b01182f5776634cc639d' parent='11e9e5cb9974a0cf' span='fe539d7e13653e4b'] c.v.m.a.n.s.NsxTPolicySubnetDeleteService.log:416 - [8282/provisioning/nsxt/policy-api-delete-subnet-adapter] Deleting segment [vm_dvlan100].: FAILED with java.util.concurrent.CompletionException: java.lang.RuntimeException: Cannot execute request
at java.base/java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:368)
at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1189)
at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2309)
at com.vmware.xenon.common.DeferredResult.thenCompose(DeferredResult.java:359)
at com.vmware.mcp.adapter.nsxt.subnet.NsxTPolicySubnetDeleteService.lambda$deleteFlexibleSegment$6(NsxTPolicySubnetDeleteService.java:181)
and
2025-03-09T20:06:15.668Z WARN provisioning [host='provisioning-service-app-78b87c5684-hz8mr' thread='xn-index-queries-7' user='' org='' trace='' parent='' span=''] c.v.v.i.p.c.r.h.TrustAllX509TrustManager.warn:43 -
Skipped the validation of a certificate chain due to configuration policy. Your connection is not secure!
The endpoint within Aria Automation 8.x has a certificate that is not accepted.
Re-trust the certificate by re-validating the NSX Cloud Account and the associated endpoints.
It might occur when you upgrade your VRA and NSX endpoint was added a while back, with old VRA version.