Bug 1130065

Summary: GetAllDisksByVmId - NPE when vm is being removed
Product: Red Hat Enterprise Virtualization Manager Reporter: Liron Aravot <laravot>
Component: ovirt-engineAssignee: Liron Aravot <laravot>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: amureini, cchen, ecohen, gklein, iheim, laravot, lpeer, ogofen, pstehlik, rbalakri, Rhev-m-bugs, scohen, tnisan, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-3.5.0_rc1.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1129258 Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 1142923, 1156165    

Description Liron Aravot 2014-08-14 09:08:03 UTC
+++ This bug was initially created as a clone of Bug #1129258 +++

Description of problem:
oVirt allows the admin to pack domains until there is 0 free space left,
this behavior is not healthy to the whole system and leads to multiple ERROR's
and NullPointerException's.

for example packing a block domain with add template command while removing vm with disks on the same domain fails with  NPE.

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

How reproducible:
?

Steps to Reproduce:
1.remove a vm with disks while being over the disks subtab

Actual results:
 NPE will be logged

Expected results:
NPE shouldn't occur

Additional info:

Comment 1 Allon Mureinik 2014-08-14 10:34:27 UTC
Liron, please add steps to reproduce.

Comment 2 Elad 2014-08-26 12:17:22 UTC
Liron, we need steps to reproduce

Comment 3 Liron Aravot 2014-08-26 12:37:03 UTC
remove a vm with disks while being over the disks subtab leading to refresh.

Comment 4 Elad 2014-08-27 08:55:15 UTC
Removed a VM with more than 10 disks attached while being over the disks sub-tab. VM was removed successfully and no NPE appeared in engine.log.
Tested ~5 times.

Tested against rhev3.4.2 av11.1 where the bug is reproduced (50% reproducible)

Verified using ovirt-3.5-RC1.1

Comment 5 Allon Mureinik 2015-02-16 19:12:53 UTC
RHEV-M 3.5.0 has been released, closing this bug.

Comment 6 Allon Mureinik 2015-02-16 19:12:54 UTC
RHEV-M 3.5.0 has been released, closing this bug.

Comment 7 Tal Nisan 2015-05-10 10:53:01 UTC
*** Bug 1219342 has been marked as a duplicate of this bug. ***