Hello,I am testing some from scratch deployment so I created a stateless vm and wrote small python script to shutdown and start the vm again (to revert vm state to starting point).
http://pastebin.com/b5yTFEkNproblem is that after stopping the vm there is a running operation of snapshot removal and when script try to start the vm it fails with
Failed to Start VM: status: 409 reason: Conflictdetail: Cannot run VM. Related operation is currently in progress. Please try again later.
Is there a cleaner way than checking status and looping or waiting some time to end of this operation? (desclaimer: I am new to python so please don't hit me :-)
Cheers, Jiri
<<attachment: jiri_slezka.vcf>>
smime.p7s
Description: Elektronicky podpis S/MIME
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users