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
, sharedLocks= ]
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
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
, sharedLocks= ]


2015-03-31 6:35 GMT+02:00 Koen Vanoppen <vanoppen.koen@gmail.com>:
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...
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?

Kind regards,

2015-03-30 13:46 GMT+02:00 Omer Frenkel <ofrenkel@redhat.com>:


----- Original Message -----
> From: "Koen Vanoppen" <vanoppen.koen@gmail.com>
> To: "Omer Frenkel" <ofrenkel@redhat.com>, users@ovirt.org
> Sent: Monday, March 30, 2015 7:44:10 AM
> Subject: Re: [ovirt-users] Snapshot issue
>
> I can't even remove them... Something needs to be done... Any ideas?
>

not sure i understand what you tried?
the 'broken' snapshots are locked, so you can't remove them.
as i said, there is no easy and safe way to fix this...
you can try to change the status of the snapshot in the db - but i am not sure what will happen!

> 2015-03-25 8:45 GMT+01:00 Koen Vanoppen <vanoppen.koen@gmail.com>:
>
> > Hi Omer,
> >
> > Thanks for your reply.
> > I was cleaning our snapshots on oVirt. So I started deleting snapshots one
> > by one. In total in deleted 10 snapshots. 5 VM's came back up, without the
> > error message, the rest of them are still down with this error message.
> >
> > 2015-03-25 7:36 GMT+01:00 Omer Frenkel <ofrenkel@redhat.com>:
> >
> >>
> >>
> >> ----- Original Message -----
> >> > From: "Koen Vanoppen" <vanoppen.koen@gmail.com>
> >> > To: users@ovirt.org
> >> > Sent: Wednesday, March 25, 2015 8:09:17 AM
> >> > Subject: Re: [ovirt-users] Snapshot issue
> >> >
> >> > I'm still not able to start my VM's:
> >> > Cannot run VM. The VM is performing an operation on a Snapshot. Please
> >> wait
> >> > for the operation to finish, and try again...
> >> >
> >> > I already restarted the vdsm deamons on the hypervisors and restarted
> >> the
> >> > engine too... Does anybody has any clue how I can solve this state?
> >> >
> >> > Kind regards,
> >> >
> >> > Koen
> >> >
> >> > 2015-03-24 7:45 GMT+01:00 Koen Vanoppen < vanoppen.koen@gmail.com > :
> >> >
> >> >
> >> >
> >> > This is in the logs:
> >> > 2015-03-24 07:41:50,436 WARN [org.ovirt.engine.core.bll.RunVmCommand]
> >> > (ajp--127.0.0.1-8702-12) [686c18ce] CanDoAction of action RunVm failed
> >> for
> >> > user Reasons:
> >> > VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT
> >> >
> >> > Can't I clear all this? Because I Still have several machines down due
> >> the
> >> > reason he is still in the "cannot run VM..." state...
> >> >
> >>
> >> this happens because you have a snapshot in status locked,
> >> probably you did some operation on snapshot and something went wrong (it
> >> might have failed without clearing the state..)
> >> there is no easy and safe way to fix this (you can change the status of
> >> the snapshot in the db but i am not sure what will happen)
> >> what action did you do with snapshots on this vm?
> >> what was the result?
> >>
> >> >
> >> >
> >> > 2015-03-23 8:40 GMT+01:00 Koen Vanoppen < vanoppen.koen@gmail.com > :
> >> >
> >> >
> >> >
> >> > Dear all,
> >> >
> >> > I have the following problem:
> >> >
> >> > Cannot run VM. The VM is performing an operation on a Snapshot. Please
> >> wait
> >> > for the operation to finish, and try again.
> >> >
> >> > It is like this since Friday... How can I resolve this? I really need
> >> this vm
> >> > to be up again...
> >> >
> >> > Kind regards,
> >> >
> >> > Koen
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Users mailing list
> >> > Users@ovirt.org
> >> > http://lists.ovirt.org/mailman/listinfo/users
> >> >
> >>
> >
> >
>