Created attachment 1122828 [details]
Description of problem:
When creating a snapshot (for nfs storage type)
or when deleting a vm with cinder snapshots
The following error appears in engine.log:
ERROR [org.ovirt.engine.core.bll.tasks.AsyncTaskUtils] (org.ovirt.thread.pool-6-thread-23) [5a63aef8] Adding/Updating task 'e214ee9d-5b7a-4344-9c55-7bb0e504c2b9' to DataBase threw an exception: null
Version-Release number of selected component (if applicable):
Steps to Reproduce:
There are two scenarios:
1. Create a snapshot for a vm with nfs disks.
2. Remove a vm with snapshots - cinder based.
The following appears:
ERROR [org.ovirt.engine.core.bll.tasks.AsyncTaskUtils] (org.ovirt.thread.pool-6-thread-23) [5a63aef8] Adding/Updating task 'e214ee9d-5b7a-4344-9c55-7bb0e504c2b9' to DataBase threw an exception: null error
Error is issued for each 'create snapshot' (nfs type).
Error is issued for each disk removed from cinder in the process of removing the vm.
* I haven't noticed any other impact.
* Cinder volumes were deleted.
* When removing one single cinder based snapshot error wasn't issued.
Moving to storage component.
If it turns out it is infra related, please move it accordingly.
The error is thrown from AsyncTaskUtils, but it may very well be since it's being misused - offhand, I can guess it's applied to Cinder "tasks", which aren't AsyncTasks in the traditional sense.
Tentatively targeting to 3.6.5 and assigning Liron to research - if this assessment is incorrect, we'll re-evaluate.
isn't this dup of bug 1308868 ?
(In reply to Ondra Machacek from comment #3)
> isn't this dup of bug 1308868 ?
Setting to MODIFIED so it can be verified in the next build delivered to QA.
Bugs moved pre-mature to ON_QA since they didn't have target release.
Notice that only bugs with a set target release will move to ON_QA.
Reproduced over 3.6.3 env. after the following scenario:
- Created VM with thin disk on NFS domain
- Started the VM and created a snapshot with memory saved
- Stopped the VM and previewed the snapshot
2016-04-05 13:43:10,618 ERROR [org.ovirt.engine.core.bll.tasks.AsyncTaskUtils] (org.ovirt.thread.pool-6-thread-19)  Adding/Updating task 'e3b2a992-5dd8-4789-9999-01449f37b79f'
to DataBase threw an exception: null
Over 3.6.5 env. , the same scenario doesn't cause to this exception.
Used rhevm-3.6.3-0.1.el6.noarch for clarifying the scenario in which the bug is reproduced.