"NsxTResourceTagging: Policy API: NSX Error code: [500133]" Error when attempting to deploy a group of virtual machines with NSX tags in vRealize Automation
search cancel

"NsxTResourceTagging: Policy API: NSX Error code: [500133]" Error when attempting to deploy a group of virtual machines with NSX tags in vRealize Automation

book

Article ID: 322996

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • "NsxTResourceTagging: Policy API: NSX Error code: [500133]" Error when attempting to deploy a group of virtual machinesĀ in vRealize Automation with the 'count' property in the blueprint yaml with NSX tags applied.
  • The /services-logs/prelude/tango-blueprint-service-app/file-logs/tango-blueprint-service-app.log logfile contains errors similar to:

2023-01-20T14:04:56.693Z INFO tango-blueprint [host='tango-blueprint-service-app-5f88c56f66-pzr7c' thread='flows-5' user='User' org='<UUID_1>' blueprint='<UUID_2>' project='<UUID_3>' deployment='<UUID_4>' request='<UUID_5>' flow='<UUID_6>' trace='<UUID_7>'] com.vmware.tango.blueprint.service.BlueprintRequestService - Flow execution tasks status: [name:<<approval>> status:FINISHED, name:action:actionname<<post>> status:FINISHED, name:action:actionname[1] status:FAILED, name:action:actionname[1]<<pre>> status:FINISHED]
2023-01-20T14:04:56.693Z WARN tango-blueprint [host='tango-blueprint-service-app-5f88c56f66-pzr7c' thread='flows-5' user='User' org='<UUID_1>' blueprint='<UUID_2>' project='<UUID_3>' deployment='<UUID_4>' request='<UUID_5>' flow='<UUID_6>' trace='<UUID_7>'] com.vmware.tango.blueprint.util.BlueprintUtils - Filtering failure message: java.lang.IllegalArgumentException: java.util.concurrent.CompletionException: java.lang.Throwable: NsxTResourceTagging: Policy API: NSX Error code: [500133]. Message: [Error fetching list of virtual machines from path=[/infra/sites/default/enforcement-points/default]. Probable cause: Connectivity Issue Invalid Query]. -> : Throwable: NsxTResourceTagging: Policy API: NSX Error code: [500133]. Message: [Error fetching list of virtual machines from path=[/infra/sites/default/enforcement-points/default]. Probable cause: Connectivity Issue Invalid Query].


Environment

VMware vRealize Automation 8.x

Cause

The issue occurs as the NSX-T Api is unable to parse the square bracket characters sent by vRealize Automation when the 'count' property is leveraged in the blueprint yaml to deploy multiple machines and apply tags.

Resolution

No information available at the moment.

Workaround:
The workaround is to create the virtual machines through vRealize Automation with the 'count' field, and then manually apply the desired tags directly in vCenter.