search for: snapshot_status

Displaying 6 results from an estimated 6 matches for "snapshot_status".

2015 Jun 04
2
Re: [ovirt-users] Bug in Snapshot Removing
...t() > for snapshot in snapshotlist: > if snapshot.description != "Active VM": > time.sleep(30) > snapshot.delete() > try: > while >api.vms.get(name=vm.name).snapshots.get(id=snapshot.id).snapshot_status == >"locked": > print("Waiting for snapshot %s on %s deletion to >finish") % (snapshot.description, vm.name) > time.sleep(60) > except Exception as e: > print ("Snapshot %s doe...
2015 Jun 04
2
Re: [ovirt-users] Bug in Snapshot Removing
...t;>> if snapshot.description != "Active VM": >>> time.sleep(30) >>> snapshot.delete() >>> try: >>> while >>>api.vms.get(name=vm.name).snapshots.get(id=snapshot.id).snapshot_status >>>== >>>"locked": >>> print("Waiting for snapshot %s on %s deletion to >>>finish") % (snapshot.description, vm.name) >>> time.sleep(60) >>> except Exception as e:...
2015 Jun 03
2
Re: [ovirt-users] Bug in Snapshot Removing
On 03/06/15 07:36 +0000, Soeren Malchow wrote: >Dear Adam > >First we were using a python script that was working on 4 threads and >therefore removing 4 snapshots at the time throughout the cluster, that >still caused problems. > >Now i took the snapshot removing out of the threaded part an i am just >looping through each snapshot on each VM one after another, even with
2015 Jun 03
0
Re: [ovirt-users] Bug in Snapshot Removing
...pshotlist = vm.snapshots.list() for snapshot in snapshotlist: if snapshot.description != "Active VM": time.sleep(30) snapshot.delete() try: while api.vms.get(name=vm.name).snapshots.get(id=snapshot.id).snapshot_status == "locked": print("Waiting for snapshot %s on %s deletion to finish") % (snapshot.description, vm.name) time.sleep(60) except Exception as e: print ("Snapshot %s does not exist anymore&quot...
2015 Jun 04
0
Re: [ovirt-users] Bug in Snapshot Removing
...shot in snapshotlist: >> if snapshot.description != "Active VM": >> time.sleep(30) >> snapshot.delete() >> try: >> while >>api.vms.get(name=vm.name).snapshots.get(id=snapshot.id).snapshot_status == >>"locked": >> print("Waiting for snapshot %s on %s deletion to >>finish") % (snapshot.description, vm.name) >> time.sleep(60) >> except Exception as e: >> prin...
2015 Jun 11
0
Re: [ovirt-users] Bug in Snapshot Removing
...if snapshot.description != "Active VM": >>>> time.sleep(30) >>>> snapshot.delete() >>>> try: >>>> while >>>>api.vms.get(name=vm.name).snapshots.get(id=snapshot.id).snapshot_status >>>>== >>>>"locked": >>>> print("Waiting for snapshot %s on %s deletion >>>>to >>>>finish") % (snapshot.description, vm.name) >>>> time.sleep(60) >>>&gt...