Re: [ovirt-users] Snapshot issue

2015-03-31 Thread Omer Frenkel


- Original Message -
> From: "Koen Vanoppen" 
> To: "Omer Frenkel" , users@ovirt.org
> Sent: Wednesday, April 1, 2015 7:53:03 AM
> Subject: Re: [ovirt-users] Snapshot issue
> 
> Worked perfectly!!! BIG thanks Omer!!! All my VM's are back up. Nothing
> lost!
> 
> SOLVED!!!

excellent :)

> 
> 2015-03-31 9:53 GMT+02:00 Omer Frenkel :
> 
> >
> >
> > - Original Message -
> > > From: "Koen Vanoppen" 
> > > To: "Omer Frenkel" , users@ovirt.org
> > > Sent: Tuesday, March 31, 2015 7:35:57 AM
> > > Subject: Re: [ovirt-users] Snapshot issue
> > >
> > > 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?
> > >
> >
> > i thought you want to save the vm, then the worst case might be data
> > corruption,
> > in case something is really wrong with the snapshots and you try to run
> > the vm.
> >
> > more optimistic, in case snapshot is missing in storage but not deleted in
> > db,
> > vm would fail to start, then you might be able to just delete the snapshot
> > (again probably only manually in db)
> > and recover completely.
> >
> > if you just want to delete the vm, worst case would be that you have to
> > clear manually stuff from the db/storage
> >
> > if you decide to change the db, better to have a backup :)
> > also, i would recommend making it when the engine is down.
> >
> > ok, so, first to get the info in the db:
> > select snapshot_id,description,status from snapshots where status =
> > 'LOCKED' and vm_id in (select vm_guid from vm_static where vm_name=' > name here>');
> >
> > just update it to be 'OK' :
> > update snapshots set status = 'OK' where snapshot_id = ' > previous query>';
> >
> > also, check there are locked images related to this snapshot:
> > select image_guid,imagestatus from images where vm_snapshot_id =
> > '' and imagestatus != 1;
> >
> > if so, need to unlock it as well:
> > updates images set imagestatus = 1 where image_guid = ' > previous query>';
> >
> >
> > let me know how it went
> >
> > > Kind regards,
> > >
> > > 2015-03-30 13:46 GMT+02:00 Omer Frenkel :
> > >
> > > >
> > > >
> > > > - Original Message -
> > > > > From: "Koen Vanoppen" 
> > > > > To: "Omer Frenkel" , 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 :
> > > > >
> > > > > > 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 :
> > > > > >
> > > > > >>
> > > > > >>
> > > > > >> - Original Message -
> > > > > >> > From: "Koen Vanoppen" 
> > > > > >> > To: users@ovirt.org
> > > > > >> > Sent: Wednesday, March 25, 2015 8:09:17 AM
> > > > > >> > Subject: Re: [ovirt-users] Snapshot issue
> > &

Re: [ovirt-users] Snapshot issue

2015-03-31 Thread Koen Vanoppen
Worked perfectly!!! BIG thanks Omer!!! All my VM's are back up. Nothing
lost!

SOLVED!!!

2015-03-31 9:53 GMT+02:00 Omer Frenkel :

>
>
> - Original Message -
> > From: "Koen Vanoppen" 
> > To: "Omer Frenkel" , users@ovirt.org
> > Sent: Tuesday, March 31, 2015 7:35:57 AM
> > Subject: Re: [ovirt-users] Snapshot issue
> >
> > 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?
> >
>
> i thought you want to save the vm, then the worst case might be data
> corruption,
> in case something is really wrong with the snapshots and you try to run
> the vm.
>
> more optimistic, in case snapshot is missing in storage but not deleted in
> db,
> vm would fail to start, then you might be able to just delete the snapshot
> (again probably only manually in db)
> and recover completely.
>
> if you just want to delete the vm, worst case would be that you have to
> clear manually stuff from the db/storage
>
> if you decide to change the db, better to have a backup :)
> also, i would recommend making it when the engine is down.
>
> ok, so, first to get the info in the db:
> select snapshot_id,description,status from snapshots where status =
> 'LOCKED' and vm_id in (select vm_guid from vm_static where vm_name=' name here>');
>
> just update it to be 'OK' :
> update snapshots set status = 'OK' where snapshot_id = ' previous query>';
>
> also, check there are locked images related to this snapshot:
> select image_guid,imagestatus from images where vm_snapshot_id =
> '' and imagestatus != 1;
>
> if so, need to unlock it as well:
> updates images set imagestatus = 1 where image_guid = ' previous query>';
>
>
> let me know how it went
>
> > Kind regards,
> >
> > 2015-03-30 13:46 GMT+02:00 Omer Frenkel :
> >
> > >
> > >
> > > - Original Message -
> > > > From: "Koen Vanoppen" 
> > > > To: "Omer Frenkel" , 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 :
> > > >
> > > > > 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 :
> > > > >
> > > > >>
> > > > >>
> > > > >> - Original Message -
> > > > >> > From: "Koen Vanoppen" 
> > > > >> > 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,
> > > > >> >
> > > > >> &g

Re: [ovirt-users] Snapshot issue

2015-03-31 Thread Omer Frenkel


- Original Message -
> From: "Koen Vanoppen" 
> To: "Omer Frenkel" , users@ovirt.org
> Sent: Tuesday, March 31, 2015 7:35:57 AM
> Subject: Re: [ovirt-users] Snapshot issue
> 
> 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?
> 

i thought you want to save the vm, then the worst case might be data corruption,
in case something is really wrong with the snapshots and you try to run the vm.

more optimistic, in case snapshot is missing in storage but not deleted in db,
vm would fail to start, then you might be able to just delete the snapshot 
(again probably only manually in db)
and recover completely.

if you just want to delete the vm, worst case would be that you have to clear 
manually stuff from the db/storage

if you decide to change the db, better to have a backup :)
also, i would recommend making it when the engine is down.

ok, so, first to get the info in the db:
select snapshot_id,description,status from snapshots where status = 'LOCKED' 
and vm_id in (select vm_guid from vm_static where vm_name='');

just update it to be 'OK' :
update snapshots set status = 'OK' where snapshot_id = '';

also, check there are locked images related to this snapshot:
select image_guid,imagestatus from images where vm_snapshot_id = '' and imagestatus != 1;

if so, need to unlock it as well:
updates images set imagestatus = 1 where image_guid = '';


let me know how it went

> Kind regards,
> 
> 2015-03-30 13:46 GMT+02:00 Omer Frenkel :
> 
> >
> >
> > - Original Message -
> > > From: "Koen Vanoppen" 
> > > To: "Omer Frenkel" , 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 :
> > >
> > > > 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 :
> > > >
> > > >>
> > > >>
> > > >> - Original Message -
> > > >> > From: "Koen Vanoppen" 
> > > >> > 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.k...@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
> > > >> >
> > >

Re: [ovirt-users] Snapshot issue

2015-03-30 Thread Koen Vanoppen
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 :

> 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 :
>
>>
>>
>> - Original Message -
>> > From: "Koen Vanoppen" 
>> > To: "Omer Frenkel" , 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 :
>> >
>> > > 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 :
>> > >
>> > >>
>> > >>
>> > >> - Original Message -
>> > >> > From: "Koen Vanoppen" 
>> > >> > 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.k...@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.k...@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
>> > >> >
>> > >>
>> > >
>> > >
>> >
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot issue

2015-03-30 Thread Koen Vanoppen
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 :

>
>
> - Original Message -
> > From: "Koen Vanoppen" 
> > To: "Omer Frenkel" , 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 :
> >
> > > 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 :
> > >
> > >>
> > >>
> > >> - Original Message -
> > >> > From: "Koen Vanoppen" 
> > >> > 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.k...@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.k...@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
> > >> >
> > >>
> > >
> > >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot issue

2015-03-30 Thread Omer Frenkel


- Original Message -
> From: "Koen Vanoppen" 
> To: "Omer Frenkel" , 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 :
> 
> > 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 :
> >
> >>
> >>
> >> - Original Message -----
> >> > From: "Koen Vanoppen" 
> >> > 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.k...@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.k...@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
> >> >
> >>
> >
> >
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot issue

2015-03-29 Thread Koen Vanoppen
I can't even remove them... Something needs to be done... Any ideas?

2015-03-25 8:45 GMT+01:00 Koen Vanoppen :

> 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 :
>
>>
>>
>> - Original Message -
>> > From: "Koen Vanoppen" 
>> > 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.k...@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.k...@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
>> >
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot issue

2015-03-25 Thread Koen Vanoppen
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 :

>
>
> - Original Message -
> > From: "Koen Vanoppen" 
> > 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.k...@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.k...@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
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot issue

2015-03-24 Thread Omer Frenkel


- Original Message -
> From: "Koen Vanoppen" 
> 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.k...@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.k...@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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot issue

2015-03-24 Thread Koen Vanoppen
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 :

> 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...
>
>
>
> 2015-03-23 8:40 GMT+01:00 Koen Vanoppen :
>
>> 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


Re: [ovirt-users] Snapshot issue

2015-03-23 Thread Koen Vanoppen
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...



2015-03-23 8:40 GMT+01:00 Koen Vanoppen :

> 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


[ovirt-users] Snapshot issue

2015-03-23 Thread Koen Vanoppen
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