How to delete empty deployments in vRealize Automation 7.x
search cancel

How to delete empty deployments in vRealize Automation 7.x


Article ID: 326138


Updated On:


VMware Aria Suite


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

  • 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.


VMware vRealize Automation 7.0.x
VMware vRealize Automation 7.1.x
VMware vRealize Automation 7.2.x
VMware vRealize Automation 7.3.x


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


This issue is resolved in vRealize Automation 7.4 and later.

    To workaround 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"

    Attachments get_app