+++ 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:
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