I am new to Orchestrator and I need some guidance\advise here.
I'm looking for a way to create an automatic workflow so every new vDC that is created in our vCloud Director will be connected to direct network.
We're currently working on automating the Org and vDC creation using external system, but got blocked on the network part, which means that the current process is semi-automatic, since we must configure manually the network to each vDC.
So guro's and masters, please share with me some of your knowledge here
First get the vCloud Director Plug-in matching your vCloud Director (look at the documents section here if you have a version requiring a most recent update). Once configured, check you can unfold your inventory.
Then look at the workflows provided in the library to see if they suit your needs. Try to get your workflow together using as many wf / actions from the library.
Lastly you may check the vCD notification package in the document section. This may help you to automatically trigger your workflow once the VDC had been created.
First of all, thanks for the fast response!
I must say that I'm sort of lost here, I can unfold and see the objects, but when I'm trying to use the workflow "Add an organization vDC network" it fails with the first process "toAdminObjectVdc" and not processing any longer.
You may have misconfigured the plug-in with using a specific organization instead of using system.
The plugin is configured using those settings:
User - administrator@system
Organization - system
Authentication - Basic with Shared Session
Did I missed something?
What is the error ? What version of vCD is this ?
Do you have a load balancer ?
vCD - 5.5
No load balancer
The exception is:
TypeError: Cannot find function toAdminObject in object notfound. (Dynamic Script Module name : toAdminObjectVdc#1)
The object is not found. Can you check if you see it in the inventory ? Does it have an URL that is matching
Do you have the same host name in the plug-in configuration and in the configured vCD public API address ?
Under Inventory I can see list of all vCD objects, should search for specific object there?
Yes, same URL and host name is configured.
I suspect you didn't quite understand what Christophe asked.... This point is VERY important and is the leading cause of object not found error:
1) Check the vCloud Director configuration under vCloud Director's web UI, under System, Public REST API URL
2) Check the vCD Plug-in configuration in vCO
The URL configured in step 2 MUST match the URL used in the vCD plug-in.
vCO sends an API call to the URL configured in the plug-in configuration....
vCD responds with XML containing URL links configured with the Public REST API URL...
When these two URLs don't match, the object not found error appears
I did understand Christophe.
1. The vCD URL is vcloud.mydomain.com, when I check the settings for the REST API URL, it is empty, means that there is no special URL for the API.
2. The plug-in is configured to use the same URL.