cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2102
Views
0
Helpful
4
Comments
Orf Gelbrich
Cisco Employee
Cisco Employee
Task NameCreate multiple VMs with Storage Catalog Option
DescriptionCreate multiple VMs with Storage Catalog Option
Prerequisites
  1. Tested on 5.3
CategoryWorkflow tasks
ComponentsCreate multiple VMs with Storage Catalog Option
  1. Log in to UCS Director as a user that has "system-admin" privileges.
  2. Navigate to "Policies-->Orchestration" and click on "Import".
  3. Click "Browse" and navigate to the location on your computer where the .wfdx file resides. Choose the .wfdx file and click "Open".
  4. Click "Upload" and then "OK" once the file upload is completed. Then click "Next".
  5. Click the "Select" button next to "Import Workflows". Click the "Check All" button to check all checkboxes and then the "Select" button.
  6. Click "Submit".
  7. A new folder should appear in "Policies-->Orchestration" that contains the imported workflow.

Thank you goes out to Niraj Kumar.

The example workflow:

Screen Shot 2015-04-29 at 7.43.15 AM.png

The custom task:

Screen Shot 2015-04-29 at 7.43.15 AM.png

The out of the box workflow called:

Screen Shot 2015-04-29 at 7.37.38 AM.png

The workflow input:

Screen Shot 2015-04-29 at 7.43.31 AM.png

Screen Shot 2015-04-29 at 7.43.40 AM.png

Storage Tier (Storage catalog) option and number of VM option:

Screen Shot 2015-04-29 at 7.43.48 AM.png

Comments

Good afternoon.

I made a test with the workflow: https://communities.cisco.com/docs/DOC-58054

In my test I did find the error:

====

Sep 01, 2016 20:10:24 UTC Preparing for VM provisioning.

Sep 01, 2016 20:10:24 UTC Provisioning on primary host/datastore...

Sep 01, 2016 20:10:24 UTC Task: Provision VMware VM (VM Provision Engine Config) failed with error - Invalid provisioning request. No cloud specified, selectedContext=<None>

Sep 01, 2016 20:10:24 UTC Task #7 (Provision VMware VM (VM Provision Engine Config)) failed after 0 seconds

Sep 01, 2016 20:10:24 UTC Input/Output values for Task #7 (Provision VMware VM (VM Provision Engine Config)):

Sep 01, 2016 20:10:24 UTC Completed workflow item number 7, with status Failed

====

Do you have a solution?

Thx

Orf Gelbrich
Cisco Employee
Cisco Employee

Do you have a VDC defined? Almost looks like the DS is not part of the cloud(vCenter) you have in the VDC?

-

Orf Gelbrich

Check out UCS Director Workflow INDEX<https://communities.cisco.com/docs/DOC-56419> on Cisco Communities Site

Shyam Sundar
Cisco Employee
Cisco Employee

Nice WF. It would be great if the rollback of this workflow could have triggered rollback of all the child workflows too.

Orf Gelbrich
Cisco Employee
Cisco Employee

Swap out the provisioning step with this WF

https://communities.cisco.com/docs/DOC-63923

it does roll back of children.

Orf Gelbrich

Check out UCS Director Workflow INDEX<https://communities.cisco.com/docs/DOC-56419> on Cisco Communities Site (Twitter @UCSDGURU)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links