Lionel hi,
You should wait until the operation is done. Take a look at this example
[1].
Regards,
Fred
[1]
https://github.com/oVirt/ovirt-engine-sdk/blob/e4ef67041a639cddbae82b172572ac5c45217341/sdk/examples/vm_backup.py#L163
On Fri, Sep 15, 2017 at 5:28 PM, Lionel Caignec wrote:
> Hi,
>
> i'
Hi,
i'm playing with ovirt sdk, to automatically manage snapshots.
My script is for now very basic
step 1) list all vm of cluster
step 2) for each vm create a snapshot if needed
step 3) for each vm delete oldest snapshot
No problem for step 1 and 2.
But step 3 is harder.
If i launch snap remove
2 matches
Mail list logo