automationapi
Contributor
Contributor

Destroy Virtual Machine from vCAC

Hi all,

I am trying to delete Virtual Machine from vCAC, given below are the steps and Exceptions ( 'Change Lease') which are getting.

Step 1 :

img.jpg

Step 2 :

img2.jpg

Exception Throwing :

[2014-06-08 10:45:45.820] [I] Getting resource action 'Change Lease' request form...

[2014-06-08 10:45:47.429] [I] Expected inputs:

[2014-06-08 10:45:47.430] [I]  - provider-ExpirationDate

[2014-06-08 10:45:47.430] [I] Filling in resource action request...

[2014-06-08 10:45:47.430] [I] Sending resource action request...

[2014-06-08 10:45:49.544] [I] 400 BAD_REQUEST - Unknown field: provider (Dynamic Script Module name : requestResourceAction#13)

Any one have Idea how to resolve this problem, it will helpful for me.

I have already tried this link : Using vCAC 6.0 REST APIs - Part 2 - Elastic Skies

thanks

2 Replies
awjudge
Hot Shot
Hot Shot

Looks like you're using Advanced Service Designer?

This line is the one I'd be interested in:

[2014-06-08 10:45:49.544] [I] 400 BAD_REQUEST - Unknown field: provider (Dynamic Script Module name : requestResourceAction#13)


There's something missing from the back-end vCO workflow... Are your workflows all validated?

automationapi
Contributor
Contributor

Thanks Judge,

Yes, all  workflows are validated. Still I am getting same problem.

This link also helpful but I didn't try this.

https://communities.vmware.com/blogs/sergioatvmware/2014/06/13/how-to-use-and-extend-the-workflow-re...

0 Kudos