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