Bug 1389983

Summary: UI exception and EngineException when closing the 'External Providers' dialog window
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: BLL.NetworkAssignee: Dominik Holler <dholler>
Status: CLOSED NEXTRELEASE QA Contact: Meni Yakove <myakove>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.5.4CC: bugs, danken, mburman
Target Milestone: ovirt-4.1.0-alphaKeywords: Regression
Target Release: ---Flags: danken: ovirt-4.1?
rule-engine: blocker?
mburman: planning_ack?
mburman: devel_ack?
mburman: testing_ack?
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-10 11:36:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael Burman 2016-10-30 10:47:05 UTC
Description of problem:
UI exception when closing the 'External Providers' dialog window

2016-10-30 12:41:57,157 ERROR [org.ovirt.engine.core.bll.provider.network.GetAllExternalNetworksOnProviderQuery] (default task-11) [] Query 'GetAllExternalNetworksOnProviderQuery' failed: EngineException: (Failed 
with error PROVIDER_FAILURE and code 5050)
2016-10-30 12:41:57,157 ERROR [org.ovirt.engine.core.bll.provider.network.GetAllExternalNetworksOnProviderQuery] (default task-11) [] Exception: org.ovirt.engine.core.common.errors.EngineException: EngineException
: (Failed with error PROVIDER_FAILURE and code 5050)
        at org.ovirt.engine.core.bll.provider.network.openstack.BaseNetworkProviderProxy.getAll(BaseNetworkProviderProxy.java:134) [bll.jar:]
        at org.ovirt.engine.core.bll.provider.network.GetAllExternalNetworksOnProviderQuery.executeQueryCommand(GetAllExternalNetworksOnProviderQuery.java:30) [bll.jar:]
        at org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:103) [bll.jar:]
        at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33) [dal.jar:]
        at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:558) [bll.jar:]
        at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:529) [bll.jar:]
        at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) [:1.8.0_102]

Version-Release number of selected component (if applicable):
4.0.5.4-0.1.el7ev

How reproducible:
100%

Steps to Reproduce:
1. Add external provider to setup 4.0.5
2. Edit the external provider dialog
3. Press 'Cancel' or the 'X' to close the window dialog

Actual results:
UI exception and EngineException thrown in the front and the backend. 
Need to refresh ui.

Expected results:
Should work as expected.

Comment 1 Michael Burman 2016-10-30 10:53:39 UTC
Other scenario that triggers the same error exception - 

- Open the 'Import' dialog window via 'Networks' main tab or via the 'External Providers' sub tab and choose a external provider form the list, then press 'Cancel' or 'X' to close the window dialog.
Same result and exception.

Comment 2 Red Hat Bugzilla Rules Engine 2016-10-30 12:10:48 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 3 Dominik Holler 2016-11-10 11:21:52 UTC
This bug is not reproducible for me, neither with ovirt-engine-4.1.0-0.0.master.20161110081926.git0588a5a.fc24 from repo nor 4.0.5 from git.
Can you confirm this?

Comment 4 Michael Burman 2016-11-10 11:28:54 UTC
Hi Dominik

This report is no longer reproducible on 4.0.5.5-0.1.el7ev. Maybe it was fixed by BZ 1389998

Comment 5 Dominik Holler 2016-11-10 11:36:53 UTC
Hi Michael, thanks for your quick response!