On Thu, Feb 14, 2019 at 11:37 AM Jiří Sléžka <jiri.slezka@slu.cz> wrote:
Hello,

we are using ovirt 4.2.8.2-1.el7.

One our user probably tried to preview taken snapshot but the task is
stucked and never finished. Also disk is locked.

Here is engine.log

https://pastebin.com/izBJ1BUg

I am not sure what went wrong except one java.lang.NullPointerException
error... Could it be some bug?

Indeed, it looks like a bug. Can you open one: 
https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
component = BLL.Virt,  team = Virt
please attach your logs too.
 

Also I would like to unlock disk and clean this task. I can see locked
snapshot and disk

[root@ovirt dbutils]# ./unlock_entity.sh -q -t snapshot -c

Locked snapshots

                vm_id                 |             snapshot_id

--------------------------------------+--------------------------------------
 df27ee13-9961-41d5-a4eb-bbb0aadf9086 | 58998020-08cb-4c84-8847-0cb6790724ba

[root@ovirt dbutils]# ./unlock_entity.sh -q -t disk -c

Locked disks

                vm_id                 |               disk_id

--------------------------------------+--------------------------------------
 df27ee13-9961-41d5-a4eb-bbb0aadf9086 | f6405448-baf8-4cc2-8ee7-798ca11cad10

but no runnig tasks

[root@ovirt dbutils]# ./taskcleaner.sh -o
 t

but in ovirt-manager I see this stucked task...

Preview VM Snapshot predsysprep of VM install_10_64bit_LTSB_UK_ucebny -
Started: Feb 12, 2019, 11:28:04 AM
Validating - Completed: Feb 12, 2019, 11:28:04 AM
Executing - Completed: Feb 12, 2019, 11:28:15 AM
Creating Volume - Completed: Feb 12, 2019, 11:28:15 AM
Finalizing - Started: Feb 12, 2019, 11:28:15 AM

what is best approach to unlock and clean this?

I'm not sure -- hopefully someone else can assist :)
 

Thanks in advance,

Cheers, Jiri

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FVJTQ25MGI2PRAXJIEHSLEOL62VRPOT2/


--

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

gshereme@redhat.com    IRC: gshereme