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

Attempting to bulk import virtual machines to vRealize Automation fails due to duplicate deployment name (2150345)

  • 0 Ratings


  • Unable to import unmanaged VMs.

  • When trying to import VMs again, you see the error:

    Duplicate deployment name. Deployment with name XXXXXXXX already exists.


This issue occurs due to duplicate deployment name. Even if the machine/deployment has been deleted previously, you can't reuse it. Therefore, deployment name must be unique.


To resolve this issue:
  1. Log in to vRA CAFE Appliance using SSH.

  2. Enter into PSQL client by running this command:

    /opt/vmware/vpostgres/current/bin/psql vcac postgres

  3. Run this SELECT query:

    SELECT status FROM comp_deployment WHERE name = 'XXXXXXXXX'

    Note: Replace XXXXXXXXX with your Deployment Name. Deployment Name is Case sensitive.

  4. If the returned value is ACTIVE, run this UPDATE query:

    UPDATE comp_deployment SET status = 'DELETED' where name = 'XXXXXXXXX'

  5. Import the Virtual machines again.

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.


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