Bug 1644636 - Engine failed to retrieve images list from ISO domain.
Summary: Engine failed to retrieve images list from ISO domain.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ovirt-4.3.0
: 4.3.0
Assignee: shani
QA Contact: Avihai
Rolfe Dlugy-Hegwer
URL:
Whiteboard:
Depends On:
Blocks: 1655659
TreeView+ depends on / blocked
 
Reported: 2018-10-31 09:46 UTC by Nisim Simsolo
Modified: 2019-02-13 07:43 UTC (History)
6 users (show)

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.
Clone Of:
: 1655659 (view as bug list)
Environment:
Last Closed: 2019-02-13 07:43:24 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.3+
rule-engine: blocker+


Attachments (Terms of Use)
engine.log (921.02 KB, text/plain)
2018-10-31 09:47 UTC, Nisim Simsolo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 95290 0 master MERGED core: Change regex for rhv-toolssetup ISO images 2021-01-08 07:26:00 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.