Quantcast
Channel: VMware Communities : Discussion List - VMware vCloud Director
Viewing all articles
Browse latest Browse all 4515

vCloud Director API: queue second RecomposevApp request

$
0
0

Hi

 

Using: vCloud Director 8.2

 

I have a scenario were i would need to add two VMs in two different requests simultaneously. As far as I know, I have to recompose a vApp to add a VM and there is no way of adding one outside of that.

 

Therefore, the code I currently have is trying to start RecomposevApp with two different requests, each containing a unique vApp. However, when one request is started, and the vApp enters busy state, the second request receives a 500 error:

 

500: [ a7662069-f865-406e-8244-aef04f3c63c1 ] Unable to perform this action. Contact your cloud administrator.

 

I have read through the API and as far as I can see, there is a queued state for tasks. I assume that what I need is to have the second request added to the TaskList as a queued task, I can however not figure that out.

 

Does anyone know how this can be achieved? If there is another way to add a VM to a vApp which circumvents this issue, i would also be interested in hearing about that.

 

--

Best regards

Kristoffer


Viewing all articles
Browse latest Browse all 4515

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>