Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1644636

Summary: Engine failed to retrieve images list from ISO domain.
Product: [oVirt] ovirt-engine Reporter: Nisim Simsolo <nsimsolo>
Component: BLL.StorageAssignee: shani <sleviim>
Status: CLOSED CURRENTRELEASE QA Contact: Avihai <aefrat>
Severity: urgent Docs Contact: Rolfe Dlugy-Hegwer <rdlugyhe>
Priority: unspecified    
Version: 4.3.0CC: bugs, michal.skrivanek, nsimsolo, rdlugyhe, sleviim, tnisan
Target Milestone: ovirt-4.3.0Flags: rule-engine: ovirt-4.3+
rule-engine: blocker+
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.0_alpha Doc Type: Bug Fix
Doc Text:
Previously, incorrect parsing of images named 'rhv-toolssetup_x.x_x.iso' caused a NullPointerException (NPE). The current release fixes this issue. This image name can be parsed without causing an exception.
Story Points: ---
Clone Of:
: 1655659 (view as bug list) Environment:
Last Closed: 2019-02-13 07:43:24 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:
Bug Depends On:    
Bug Blocks: 1655659    
Attachments:
Description Flags
engine.log none

Description Nisim Simsolo 2018-10-31 09:46:13 UTC
Description of problem:
Trying to see available ISO images from ISO domain using WebAdmin failed. 
Same ISO domain function as expected using 4.2.7 U/S and D/S

NPE observed in engine.log: 
2018-10-31 11:01:57,396+02 ERROR [org.ovirt.engine.core.bll.storage.repoimage.GetImagesListByStoragePoolIdQuery] (default task-7) [5c781346-afe7-4dc1-9d22-1ee4118d1e46] Except
ion: java.lang.NullPointerException

Trying to detach/attach DC and remove/add ISO domain is not solving this issue.

Version-Release number of selected component (if applicable):
ovirt-engine-4.3.0-0.0.master.20181030100636.git6215452.el7
vdsm-4.30.1-29.gitcbdbee9.el7.x86_64
libvirt-client-4.5.0-10.el7.x86_64
qemu-kvm-common-ev-2.10.0-21.el7_5.7.1.x86_64
sanlock-3.6.0-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Browse WebAdmin -> storage -> domains and add ISO domain.
2. Try to list available images from WebAdmin
3.

Actual results:
nothing is listed

Expected results:
Available ISO images should be listed

Additional info:
engine.log attached

Comment 1 Nisim Simsolo 2018-10-31 09:47:49 UTC
Created attachment 1499313 [details]
engine.log

Comment 2 Tal Nisan 2018-11-04 15:13:34 UTC
Strange, looks like the returned value of the query is null for some reason, this should not happen.
Shani, please have a look

Comment 3 Red Hat Bugzilla Rules Engine 2018-11-04 15:13:40 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 6 Michal Skrivanek 2018-11-07 10:12:28 UTC
This is a virt bug introduced recently to master by abd959f0ca18616286aa5ef9b47e5dbd68682a42. no backport needed.
Thank you for fixing it!

Comment 7 Avihai 2018-11-19 11:57:17 UTC
Verified .
4.3.0-0.0.master.20181116185756.gite19db6e.el7

Comment 8 Rolfe Dlugy-Hegwer 2019-01-21 18:24:14 UTC
Please review the current Doc Text. Thank you.

Comment 9 shani 2019-01-31 09:16:31 UTC
Approved, thanks!

Comment 10 Sandro Bonazzola 2019-02-13 07:43:24 UTC
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE.

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