VMware Cloud Community
St0ked56
Contributor
Contributor

Instantiate vAPP from public Catalog

Hi,

I am trying to make vApp templates from public catalogs available to choose from.  What I want to do is use the "vcloud:Catalog" type to be able to pick the public cloud(e.g. Cat1, Cat2, Cat3).  From there in the next drop down I want that drop down to show the vApp Templates from the specific catalog chosen previously.  I am trying to use the "getCatalogItemEntityAsObject" workflow example but I keep getting errors when trying to run it.

I have been building my workflow off the Custom Deploy example.  So I want to be able to take the CatalogItem and convert it to a vApp Template than to a vApp.

Any help would be greatly appreciated.

0 Kudos
5 Replies
Burke-
VMware Employee
VMware Employee

See my post in this thread: http://communities.vmware.com/message/2024554#2024554

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos
St0ked56
Contributor
Contributor

I looked through the example and tried to run the workflow in that thread and recieve the below error.

Property name 'parent' not found on object:VclCatalog

Any idea on how I can get this to work so I can learn from this example?

Thanks

0 Kudos
Burke-
VMware Employee
VMware Employee

MOST likely cause is that your vCloud Director Plug-in in vCO is using a name/FQDN/IP that is DIFFERENT than what vCloud Director has specified as the Public API Url (can't remember exact field name right now)... Under vCloud Director, you need to go into the System settings and see what you have configured for the API Url and use exactly the same in the vCD Plug-in configuration.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos
St0ked56
Contributor
Contributor

Right now in the vcloud plug-in I am using

vcloud.name.name.com as the URL

in vCD, the URL is

vcloud.name.name.com/cloud/org/Team

When I try to use the entire URL from vCD the secure port (443) changes to -1 and I lose connectivity to that org through vCO.

0 Kudos
Burke-
VMware Employee
VMware Employee

No, not the url you use to go to your organization...

Login to vCloud Director as a System Administrator

On the "System" tab, click on "Administration"

Then, in the left pane, under "System Settings", click on "Public Addresses"

Now, look in the right pane at what is entered in "VCD public REST API base URL"

That value is what needs to be used in your vCD Plug-in configuration in vCO.... so, based on what you have your vCO configuration set to, you should expect to see vcloud.name.name.com as the value in the "VCD public REST API base URL" field.

If that is NOT currently set, you should set that.

Please note that if your vCloud Director server is behind a load balancer, then your Public Addresses on each vCD Cell should be configured to use the Load Balancer's address. Additionally, vCO's Configuration for the vCD Plug-in should also use the load balancer address. And, of course, the SSL cert for the load balancer should be imported to vCO. It doesn't hurt to also import each cell's SSL cert.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos