...
Unable to dissociate a cloud zone from a project.The resource exists inside the cloud zone linked with a project, but you are unable to identify it from the extensive list of deployments in Cloud Assembly.
Identify resources linked within a Cloud Zone, in a project, and how to delete the deployments to dissociate the cloud zone from the project.
When there are large-scale deployments under vRA it may be difficult to identify the resources in a cloud zonefrom the Cloud Assembly UI.
When a deployment is deleted from vRA, all VMs and resources associated with that deployment are destroyed.
Note: You may use Postman to run the API calls against vRA. The procedure and method is detailed in the following blog vRealize Automation Cloud Assembly's IaaS API - VMware Cloud Management First, annotate the IDs of each cloud zone and project using the below API calls. Obtaining the Project ID API Method: GETAPI: https://vRAApplianceFQDN/iaas/api/projects?$filter=name%20eq%20'ProjectName' Example API: https://vra_fqdn/iaas/api/projects?$filter=name%20eq%20'test-project' Response { ... "name": "test-project", "description": "", "id": "<UUID_1>", "organizationId": "<UUID_2>", ... } Note: The italicized value is the ID of our project test-project. Obtaining Cloud Zone ID API Method: GETAPI: https://vRAApplianceFQDN/iaas/api/zones?$filter=name%20eq%20'CloudZoneName' Example https://vra_fqdn/iaas/api/zones?$filter=name%20eq%20'Autolab VC / Autolab' Response { ... "name": "Autolab VC / Autolab", "id": "<UUID_3>", "updatedAt": "2022-08-19", ...} Note: The italicized value is the ID of our cloud zone Autolab VC / Autolab. Utilize an internal API call to retrieve the list of resources that are part of the project and the cloud zone. Obtain the Resource Names API Method: GETAPI https://vra_fqdn/provisioning/uerp/provisioning/mgmt/compute?$filter=customProperties.__groupResourcePlacementLink%20eq%20 '/provisioning/resources/group-placements/GroupPlacementID' Note: Group Placement ID is in the format ProjectID-CloudZoneID <UUID_1>-<UUID_3> Example API https://vra_fqdn/provisioning/uerp/provisioning/mgmt/compute?$filter=customProperties.__groupResourcePlacementLink%20eq%20 '/provisioning/resources/group-placements/<UUID_1>-<UUID_3>' Response { ... "hostName": "UbuntuTest", "isPublished": true, "id": "<UUID_4>", "name": "Cloud_vSphere_Machine_117", ....} Note: Repeat for all the Resource names identified from Step # 3. These should be searched and deleted from the deployments before attempting to dissociate the cloud zone from the project.Note: Date, time, and environmental variables may vary depending on your environment.
Click on a version to see all relevant bugs
VMware Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.