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

Unable to generate CSV file to import virtual machines in vRA 7.x (2146299)

  • 0 Ratings

Symptoms

  • When you click on Generate CSV File navigating to Infrastructure> Bulk Imports, you see an error:

    Error has occurred.  For more information, see event logs on the IaaS server or contact your system administrator.

  • On the Windows IaaS machine event logs, you see entries similar to :

    System.ArgumentException: An item with the same key has already been added.

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Purpose

This article gives information on how to use CloudUtil.exe to generate CSV file that is used to import virtual machines to a vRealize Automation deployment.

Cause

This issue occurs when multiple tenants have blueprints in the same vRealize Automation instance.

Resolution

This issue is resolved in VMware vRealize Automation 7.1 , available at VMware Downloads .
 
 To work around this issue if you do not want to upgrade, use the cloudutil.exe to generate the CSV file:
 
  1. Download the cloudutil.exe included in the vRealize Automation Designer which can be obtained from the installer page on the vRealize Automation Appliance:


    https://vrealize-automation-appliance.fqdn:5480/installer


    Note
    : CloudUtil is the command line interface for the vRealize Automation Designer. You run the commands on the Windows machine on which you are running the designer. The default installation location on the Windows machine is C:\Program Files (x86)\VMware\vCAC\vRealize Automation Designer

  2. Generate the CSV file by running the command: 

    CloudUtil.exe Machine-BulkRegisterExport

    For more information, see the Machine-BulkRegisterExport section in the vRealize Automation 7.0 Life Cycle Extensibility Guide .

    In the documentation, you can find the details to create a CSV data file that is used to import virtual machines to a vRealize Automation deployment under vRealize Automation 7.0 Information > Life Cycle Extensibility > CloudUtil Command Reference > Import Commands
 

Additional Information

 To be alerted when this article is updated, click Subscribe to Document in the Actions box.

Update History

08-23-2016 - Issue is fixed in vRA 7.1

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.

Feedback

  • 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
Actions
KB: