Bug 1219342

Summary: GetAllDiskByVMIdQuery failed after detaching a disk.
Product: Red Hat Enterprise Virtualization Manager Reporter: Chen <cchen>
Component: ovirt-engineAssignee: Tal Nisan <tnisan>
Status: CLOSED DUPLICATE QA Contact: Aharon Canan <acanan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: amureini, cchen, ecohen, gklein, lpeer, lsurette, rbalakri, Rhev-m-bugs, tnisan, yeylon
Target Milestone: ---   
Target Release: 3.5.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-10 10:53:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chen 2015-05-07 06:33:26 UTC
Description of problem:

GetAllDiskByVMIdQuery failed after detaching a disk and following errors output.

2015-04-27 18:29:03,324 ERROR [org.ovirt.engine.core.bll.GetAllDisksByVmIdQuery] (ajp-/127.0.0.1:8702-3) Query GetAllDisksByVmIdQuery failed. Exception message is null : java.lang.NullPointerException: java.lang.NullPointerException


Version-Release number of selected component (if applicable):

rhevm-3.4.0-0.21.el6ev.noarch

How reproducible:

Sometimes

Steps to Reproduce:
1. Remove a VM withouth permanently remove the disks

Actual results:

The java NullPointerException output in engine.log

Expected results:

There shouldn't be any call trace

Additional info:

Comment 1 Allon Mureinik 2015-05-10 07:32:37 UTC
Chen, is this just a logging issue, or are you noticing some flow breaking?

Tal, pleas have someone look into this?

Comment 2 Tal Nisan 2015-05-10 10:53:01 UTC
This issue was solved in BZ 1130065, I've tried to recreate the race numerous time by making sure that the query runs after the VM was deleted, this does not reproduce

*** This bug has been marked as a duplicate of bug 1130065 ***