Search the VMware Knowledge Base (KB)
View by Article ID

How to delete empty deployments in vRA 7.x (2148996)

  • 1 Ratings


  • Several empty deployment items fails to destroy due to various software component errors.
  • There are no software component or virtual machine items associated with those deployments, and the software components that are throwing the errors do exist.


 This article provides steps about how to delete empty deployment shells.


This issue occurs when empty deployment shells remain without any virtual machines associated to them.


To resolve the issue:
  • Take a backup or snapshot of vRealize Automation node.
  • The deployment must not have any components, otherwise they will be left orphaned.
  1. Download the file attached to this Knowledge base article.
  2. Extract the file to get script file.
  3. Copy the script to vRealize Automation appliance and make it executable.

    Note: The script assumes that PGPASSWORD is set in the environment and it asks for the password. To get the postgres password, see  How to obtain the postgres vcac user password in VMware vRealize Automation 7.x (2144071)
  4. Run the script by running the command:

    ./ "name of deployment shell"

    For example:

    ./ "Markham Windows 7 Pro, 64bit80273"


Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 1 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 1 Ratings