On 2/19/13 12:45 AM, "Asmita Vagyani" <asmita.vagy...@sigma-systems.com>
wrote:

>Hi all,
>
>We are using the cloudstack 4 APIs - deployVM and destroyVM.
>Both the calls are asynchronous.
>
>We are trying to find a way how we can keep on polling the CS4 management
>server for the Job status.
>The issue is , the VM creation can take much time than expected.... is
>there any time limit say x hours after which I can say I will will get
>the Job Status as success/failure.

Currently it is hard-coded as 1 day (24 hours). After this time the query
will return 'non existent job' or some such.

>Because, VM creation process cannot go on forever.
>
>If, during the process of creation if I want to abort this VM creation
>process, can I do it?

Looking at the VM state machine, if the state is in 'Starting', the
end-user has no way of forcing a state transition to say 'Destroyed' by
sending the 'destroyVM' command.

But I could be wrong about this. I have not tried this.

>
>Thanks and Regards.
>
>Asmita Patil Vagyani.
>

Reply via email to