[pve-devel] pve2-api question

Dietmar Maurer dietmar at proxmox.com
Mon Jul 16 10:25:54 CEST 2012


> 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.




More information about the pve-devel mailing list