Naineyess
Enthusiast
Enthusiast

Problem while giving instancetype value as attribute ..

Hi..

I am running the workflow named as "Provision a virtual machine by using blueprint" and by using this workflow I am provisioning a virtual machine in Amazon (Public Cloud )..

I have created a buleprint in vcac and I am trying to automate the workflow so that reason I have made the input parameters as attribute and hardcoded all the blueprint details in the workflow ... While doing these steps I am unable to add the value for "instance type" ..

In the vcac-host drop down list which is mentioned below,we don't have any Instance type tab where we can provide the value for the instance ..

instanceType.PNG

Is it possible to add the values in the list or we can try another way to achive the same ..

please help me to find the solution to resolve this issue ..

Thanks !!

0 Kudos
8 Replies
cdecanini_
VMware Employee
VMware Employee

I recall reading that this workflow is limited to provision vCenter VM / vCloud VMs and not other Cloud / physical VMs. This is going to be addressed as part of a new release of vCAC later this year.

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 vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
Naineyess
Enthusiast
Enthusiast

Hey thanks Smiley Happy you are right and I am able to provision the VM in Amazon which is a public cloud Smiley Happy that is possible when I am running the workflow and assigning the values like Host,Provisioing group,Blueprint,Instance Type etc etc at the same time ... I mean I am providing the values as input while running the workflow..

But now in this case I want to automate the steps(or workflow) without any manual interaction and for that I have to hardcode the values so I have made the input variables as attributes and hardcoded the value of host,provisioning group, blueprint etc but the problem is  I am not getting the value for Instance type in the list so I want to add that Instance type in the list or we can try any other possible solution ..

Thanks !!


0 Kudos
cdecanini_
VMware Employee
VMware Employee

Then it seems this workflow supports more blueprint types than I thought Smiley Happy

How do you set instanceType when running the workflow interactively ? What is different when assigning it as an attribute ?

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 vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
Naineyess
Enthusiast
Enthusiast

okay .. when we mention the name of the blueprint (which is specially for vm provisioning in Amazon ) and click next it automaticaly takes all the values related to that blueprint like Instance type,storage,cpu etc ..

And when we are making it as attribute and mentioning the values as hardcoded it is showing the list which I have already displayed in the first query .. and in the list no instance type is coming, that is why I was looking for some options so that I can add instance type in the list ..

I hope you are understaning my point :smileyplain:

0 Kudos
cdecanini_
VMware Employee
VMware Employee

If the workflow automatically calculate these values it means there is an action set in the presentation tab to do so (unfortunately I cannot check what these are ATM). Click on each field in the presentation to check the presentation properties and what actions are called. You can then call these within your workflow to calculate each of the field as long as you provide the proper inputs for these.

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 vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
Naineyess
Enthusiast
Enthusiast

Thanks ..yeah right and I am proceeding in the same direction the action name is "getAmazonInstanceTypes" I added the same action in my workflow but the here the problem is I am not able to map the output of the action with input of the workflow which is Instance type .. both are having the same type as vCAC:AmazonInstanceType but still the mapping is not working ..

I am not getting whats wrong here .. :smileyconfused:

0 Kudos
cdecanini_
VMware Employee
VMware Employee

Do you mean you are not receiving a proper vCAC:AmazonInstanceType object as the input of the workflow ? Is there any error message about converting / serializing the object ? you can duplicate the library workflow and modify it to use it instead and do a System.log(object) to see if you get it right. If not you can copy / paste the action code within the duplicated workflow main scriptable task.

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 vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
Naineyess
Enthusiast
Enthusiast

Okay .. Smiley Happy Thanks .. I hope this solution should work ..

0 Kudos