[pve-devel] pve2-api question

datanom.net mir at datanom.net
Mon Jul 16 10:58:00 CEST 2012


On 07-16-2012 10:25, Dietmar Maurer wrote:
>> Is it reliable to assume whenever a task finish it will log either:
>> TASK OK
>> or
>> TASK ERROR: some error text
>
> no, that is not 100% reliable.
>
>> or should I to be absolutely sure make a call to
>> /api2/json/nodes/{node}/tasks/{upid}/status and continue to do so 
>> until the
>> attribute status reads 'stopped'?
>
> Yes.
>
Ok. Thanks for your response. Back to the design room:-)



More information about the pve-devel mailing list