Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 2039

PowerOn operation not working

$
0
0

I have some vApps that the PowerOn operation is not working for soem VM's.

 

Code run...  isDeployed = TRUE, status=8

 

bool isDeployed = vapp.IsDeployed();
int status = vapp.GetVappStatus();
vapp.PowerOn();
2 cases, one works just fine.. one does not.   (Both work just from the VCD Gui)
Vapp one - Deployed, VM in question is in "Paritally Powered Off" state - Vapp setting for Start action set to "None" - No Errors, just does not change state.
Vapp two - Deployed, VM in question is in "Partially Powered Off" state  - Vapp settings for Start action set to "Power On (default)" -- THIS ONE WORKS.
Issue is we have vapp's with 10 systems.  9 of the systems are set to None as a start action so they will no start when the vapp starts - only when a user specific requests them to start.  This fully works in the VCD Web Guid - but via the API seems to have some issue.
Thoughts?
Thanks

Viewing all articles
Browse latest Browse all 2039

Trending Articles



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