Bug 1186372

Summary: Failure for calling internal query GetExistingStorageDomainList will cause an NPE
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engineAssignee: Maor <mlipchuk>
Status: CLOSED ERRATA QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: amureini, ecohen, gklein, iheim, lpeer, lsurette, mlipchuk, rbalakri, Rhev-m-bugs, tnisan, yeylon, ylavi
Target Milestone: ---Keywords: ZStream
Target Release: 3.5.1Flags: ylavi: Triaged+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: org.ovirt.engine-root-3.5.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1186131 Environment:
Last Closed: 2015-04-28 18:45:41 UTC Type: ---
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: 1186131    
Bug Blocks: 1193058, 1197441    

Comment 1 Allon Mureinik 2015-02-19 14:13:43 UTC
Maor, Please add steps to reproduce, so the QA can verify this.
Thanks!

Comment 3 Maor 2015-03-02 12:17:48 UTC
(In reply to Allon Mureinik from comment #1)
> Maor, Please add steps to reproduce, so the QA can verify this.
> Thanks!

I'm not sure how to reproduce this... I've added a needinfo to add a dependent bug on GetStorageDomainsList failure in VDSM
but generally, the QA can "ruin" the GetStorageDomainsList in VDSM before trying to import a Storage Domain (though it will be best to just add the dependent bug if we have it).
Tal, is there a dependent bug on this, or can you describe the reproduce steps of how you managed to reproduce this (I think it was related to Gluster FS)?

Comment 4 Tal Nisan 2015-03-04 14:50:18 UTC
Discussed face to face, we need to remove an export domain from the system and import it again and this is where the bug reproduced before the fix

Comment 5 Kevin Alon Goldblatt 2015-03-04 15:14:26 UTC
I verified this bz with the following scenario using 3.5.1 vt14
1. Created a nfs export domain
2. Moved the nfs export domain to maintenance
3. Detached the nfs export domain
4. Removed the nfs export domain without Formatting it
5. Imported the nfs export domain again - the domain was successfully imported

Moving to Verified

Comment 6 errata-xmlrpc 2015-04-28 18:45:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0888.html