VMware Cloud Community
Henrique_Cicuto
Enthusiast
Enthusiast
Jump to solution

vCloud Connector - Unable to copy vApp from vCloud Director to vSphere

Evening,

Trying to copy a vApp from vCloud Director 5.6 to vCenter 5.5 using vCloud Connector 2.7.

The scenario:

- vCloud Director fully configured with one Org, one Org vDC and one catalog;

- Catalog is fully populated, shared and published;

- Org and catalog are configured to allow publishing to external organizations;

- vCenter and vCloud Director were successfully added to vCloud Connector throught the vSphere Client plug-in;

- vCloud Connector plug-in is able to see the entire vSphere and vCD structures (folders, orgs, catalogs, vApps, templates, etc).

Replicating the error:

- Using the vSphere Client, click the vCD Org;

- Go to the vApps tab;

- Select a powered off vApp;

- Click Copy;

- Select Catalog (it is marked as Shared and, oddly, as Unpublished);

- Select vCenter as target;

- Select Clusters, Folders, Datastore, disk format and so on;

- Power On vApp after deploy (or not, does not matter);

- Validate (Returns Success);

- Finish.

Task begins and fails within a minute (or less) with the following message:

"OVF export failed. Failure while copying data from cloud: https://<vcloud_director_fqdn>. Reason: [ 0e65fbc1-4e04-4924-ae06-c4377dfc97af ] There is no catalog in the organization."

Looks like vCloud Connector, for some reason, is unable to locate the Catalog during deployment (although it can be perfectly seen during the Copy wizard and within its inventory).

I tried searching for it and did not find anything similar to this error.

Perhaps it´s a vCD configuration error, but what could it be? I´ve already selected every kind of option to allow catalog publishing and sharing and nothing changed.

I also successfully published the vCD Catalog to the vCloud Connector Content Library, so nothing else makes sense to me.

Reply
0 Kudos
1 Solution

Accepted Solutions
Henrique_Cicuto
Enthusiast
Enthusiast
Jump to solution

Solved.

Created a new catalog and DID NOT publish it. Used it for copying. Went smoothly.

View solution in original post

Reply
0 Kudos
4 Replies
narenbs
VMware Employee
VMware Employee
Jump to solution

Hi Enrique,


     Can you please confirm the user role on vCloud Director (Org Admin?) and also, if the catalog is a Public Catalog. If the catalog is a public catalog - and you are not an Org Admin, the operation will fail. vCloud Director, uses a catalog to hold the temporary vApp Template created during the export/download. The vApp is first converted to a template and then enabled for download. The error you are seeing is coming from the VCD, as it is not able to use the catalog to allow for downloading of the template. Only Org Admin is allowed to download vApp Templates from the Public Catalogs.


You could try to create a new Catalog (new Org Catalog and not a Public one), and select that in the Copy wizard. Let us know if this works.


-Narendra

Henrique_Cicuto
Enthusiast
Enthusiast
Jump to solution

Hi, Narenda.

The catalog is public and the user is Org Admin.

Using a different catalog results in the same behavior.

Reply
0 Kudos
narenbs
VMware Employee
VMware Employee
Jump to solution

Is the catalog shared from another Org?

  • Attempts to download vApp templates from a shared catalog fail
    When you attempt to download a vApp template from a catalog that is shared from another organization, the operation fails. This issue is resolved in vCloud Director 5.5.2.1.
Reply
0 Kudos
Henrique_Cicuto
Enthusiast
Enthusiast
Jump to solution

Solved.

Created a new catalog and DID NOT publish it. Used it for copying. Went smoothly.

Reply
0 Kudos