Bug 1293591 - v2v: external provider "test" button failed when using "any data center" value.
Summary: v2v: external provider "test" button failed when using "any data center" value.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 3.6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.0-alpha
: 4.1.0.2
Assignee: Shahar Havivi
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-22 10:08 UTC by Nisim Simsolo
Modified: 2017-02-01 14:36 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-02-01 14:36:32 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
engine.log (512.28 KB, application/x-gzip)
2015-12-22 10:11 UTC, Nisim Simsolo
no flags Details
vdsm.log (936.15 KB, application/x-gzip)
2015-12-22 10:11 UTC, Nisim Simsolo
no flags Details
new engine.log (11.29 MB, application/x-gzip)
2016-01-31 13:04 UTC, Nisim Simsolo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 952703 1 None None None 2021-05-01 16:29:36 UTC
oVirt gerrit 59426 0 master MERGED engine: test external provider failed when not selection data-center 2016-06-21 06:42:40 UTC

Internal Links: 952703

Description Nisim Simsolo 2015-12-22 10:08:46 UTC
Description of problem:
- Trying to "test" valid VMware environment from add external provider dialog, 
failed with java.lang.NullPointerException ERROR.
- This issue is relevant only when selecting "any data center" in data center dropbox.
- It is possible to add VMware provider with or without selecting DC in data center dropbox.

Version-Release number of selected component (if applicable):
rhevm-3.6.1.3-0.1.el6
sanlock-3.2.4-1.el7.x86_64
libvirt-client-1.2.17-13.el7_2.2.x86_64
qemu-kvm-rhev-2.3.0-31.el7_2.4.x86_64
vdsm-4.17.13-1.el7ev.noarch


How reproducible:
100%

Steps to Reproduce:
1. Browse webadmin and navigate to left pane -> external provider -> add
2. Enter valid VMware parameters, leave data center dropbox with "any data center" value.
3. click test.
4. Select DC in data center dropbox and click test button.
5. select "any data center" in data center dropbox and click ok.

Actual results:
3. Action failed. engine.log shows java.lang.NullPointerException ERROR
4. Test passed.
5. VMware environment added properly. also VMware VMs can be queried and imported using this provider.

Expected results:
Test should pass also when using "any data center" value.

Additional info:
engine and vdsm log attached.
engine events timing: 
test without selecting DC - 2015-12-22 11:52:41,464
test with DC selected - 2015-12-22 11:53:10,302
clicking ok without selecting DC - 2015-12-22 11:53:39,866

Comment 1 Nisim Simsolo 2015-12-22 10:11:09 UTC
Created attachment 1108604 [details]
engine.log

Comment 2 Nisim Simsolo 2015-12-22 10:11:32 UTC
Created attachment 1108605 [details]
vdsm.log

Comment 3 Michal Skrivanek 2016-01-29 13:34:04 UTC
(In reply to Nisim Simsolo from comment #1)
> Created attachment 1108604 [details]
> engine.log

log does not contain the interval you mention. Please attach relevant log

Comment 4 Red Hat Bugzilla Rules Engine 2016-01-29 13:44:09 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 5 Nisim Simsolo 2016-01-31 13:04:59 UTC
Created attachment 1119881 [details]
new engine.log

Comment 6 Nisim Simsolo 2016-01-31 13:08:02 UTC
Please see engine.log_new.gz --> 2016-01-31 14:56:42,923 ERROR [org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery] (ajp-/127.0.0.1:8702-5) [2340e6e9] Exception: java.lang.NullPointerException

Comment 7 Moran Goldboim 2016-03-27 09:15:32 UTC
postponing this one for next release due to capacity.

Comment 9 Sandro Bonazzola 2016-12-12 13:55:38 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 10 Nisim Simsolo 2016-12-29 14:26:43 UTC
Verification builds:
rhevm-4.1.0-0.3.beta2.el7
qemu-kvm-rhev-2.6.0-28.el7_3.2.x86_64
libvirt-client-2.0.0-10.el7_3.2.x86_64
vdsm-4.19.1-1.el7ev.x86_64
virt-v2v-1.32.7-3.el7.x86_64

Verified with the next external providers:
VMware
KVM (qemu+ssh and qemu+tcp)
Xen


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