<div dir="ltr">INFO [org.ovirt.engine.core.bll.RemoveVmCommand] (ajp--127.0.0.1-8702-39) [12468b58] Lock Acquired to object EngineLock [exclusiveLocks= key: 00d0ee6c-9618-4033-9c70-4001e32a0641 value: VM<br>, sharedLocks= ]<br>2015-03-31 06:46:02,886 WARN [org.ovirt.engine.core.bll.RemoveVmCommand] (ajp--127.0.0.1-8702-39) [12468b58] CanDoAction of action RemoveVm failed for user vanoppek@. Reasons: VAR__ACTION__REMOVE,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT<br>2015-03-31 06:46:02,889 INFO [org.ovirt.engine.core.bll.RemoveVmCommand] (ajp--127.0.0.1-8702-39) [12468b58] Lock freed to object EngineLock [exclusiveLocks= key: 00d0ee6c-9618-4033-9c70-4001e32a0641 value: VM<br>, sharedLocks= ]<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-31 6:35 GMT+02:00 Koen Vanoppen <span dir="ltr"><<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I just wanted to remove the snapshots in ovirt... That's all... And now they are locked. Without the possibility to remove, reboot the vm or cancel the snapshots...<br></div>So I'm stuck... How can I change the status of the snapshot in the db, so that at least I can remove the VM? And what could be the impact , worst case?<br><br></div>Kind regards,<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-03-30 13:46 GMT+02:00 Omer Frenkel <span dir="ltr"><<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
<br>
----- Original Message -----<br>
> From: "Koen Vanoppen" <<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>><br>
</span><span>> To: "Omer Frenkel" <<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>>, <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
> Sent: Monday, March 30, 2015 7:44:10 AM<br>
> Subject: Re: [ovirt-users] Snapshot issue<br>
><br>
</span><span>> I can't even remove them... Something needs to be done... Any ideas?<br>
><br>
<br>
</span>not sure i understand what you tried?<br>
the 'broken' snapshots are locked, so you can't remove them.<br>
as i said, there is no easy and safe way to fix this...<br>
you can try to change the status of the snapshot in the db - but i am not sure what will happen!<br>
<div><div><br>
> 2015-03-25 8:45 GMT+01:00 Koen Vanoppen <<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>>:<br>
><br>
> > Hi Omer,<br>
> ><br>
> > Thanks for your reply.<br>
> > I was cleaning our snapshots on oVirt. So I started deleting snapshots one<br>
> > by one. In total in deleted 10 snapshots. 5 VM's came back up, without the<br>
> > error message, the rest of them are still down with this error message.<br>
> ><br>
> > 2015-03-25 7:36 GMT+01:00 Omer Frenkel <<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>>:<br>
> ><br>
> >><br>
> >><br>
> >> ----- Original Message -----<br>
> >> > From: "Koen Vanoppen" <<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>><br>
> >> > To: <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
> >> > Sent: Wednesday, March 25, 2015 8:09:17 AM<br>
> >> > Subject: Re: [ovirt-users] Snapshot issue<br>
> >> ><br>
> >> > I'm still not able to start my VM's:<br>
> >> > Cannot run VM. The VM is performing an operation on a Snapshot. Please<br>
> >> wait<br>
> >> > for the operation to finish, and try again...<br>
> >> ><br>
> >> > I already restarted the vdsm deamons on the hypervisors and restarted<br>
> >> the<br>
> >> > engine too... Does anybody has any clue how I can solve this state?<br>
> >> ><br>
> >> > Kind regards,<br>
> >> ><br>
> >> > Koen<br>
> >> ><br>
> >> > 2015-03-24 7:45 GMT+01:00 Koen Vanoppen < <a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a> > :<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > This is in the logs:<br>
> >> > 2015-03-24 07:41:50,436 WARN [org.ovirt.engine.core.bll.RunVmCommand]<br>
> >> > (ajp--127.0.0.1-8702-12) [686c18ce] CanDoAction of action RunVm failed<br>
> >> for<br>
> >> > user Reasons:<br>
> >> > VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT<br>
> >> ><br>
> >> > Can't I clear all this? Because I Still have several machines down due<br>
> >> the<br>
> >> > reason he is still in the "cannot run VM..." state...<br>
> >> ><br>
> >><br>
> >> this happens because you have a snapshot in status locked,<br>
> >> probably you did some operation on snapshot and something went wrong (it<br>
> >> might have failed without clearing the state..)<br>
> >> there is no easy and safe way to fix this (you can change the status of<br>
> >> the snapshot in the db but i am not sure what will happen)<br>
> >> what action did you do with snapshots on this vm?<br>
> >> what was the result?<br>
> >><br>
> >> ><br>
> >> ><br>
> >> > 2015-03-23 8:40 GMT+01:00 Koen Vanoppen < <a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a> > :<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > Dear all,<br>
> >> ><br>
> >> > I have the following problem:<br>
> >> ><br>
> >> > Cannot run VM. The VM is performing an operation on a Snapshot. Please<br>
> >> wait<br>
> >> > for the operation to finish, and try again.<br>
> >> ><br>
> >> > It is like this since Friday... How can I resolve this? I really need<br>
> >> this vm<br>
> >> > to be up again...<br>
> >> ><br>
> >> > Kind regards,<br>
> >> ><br>
> >> > Koen<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > _______________________________________________<br>
> >> > Users mailing list<br>
> >> > <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
> >> > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> >> ><br>
> >><br>
> ><br>
> ><br>
><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>