Bug 1661875 - [UI] - UI exception when trying to import an external network while exists on all DCs in the system
Summary: [UI] - UI exception when trying to import an external network while exists on...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.3.0
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Ales Musil
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-24 07:36 UTC by Michael Burman
Modified: 2022-04-20 06:33 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-20 06:33:59 UTC
oVirt Team: Network
Embargoed:
pm-rhel: ovirt-4.5?


Attachments (Terms of Use)
ui log (7.99 KB, text/plain)
2018-12-24 07:36 UTC, Michael Burman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-38004 0 None None None 2022-01-28 09:26:00 UTC
oVirt gerrit 118370 0 master MERGED webadmin: Hide external network that is already in all DCs 2022-02-01 15:41:15 UTC

Description Michael Burman 2018-12-24 07:36:56 UTC
Created attachment 1516478 [details]
ui log

Description of problem:
[UI] - UI exception when trying to import an external network while exists on all DCs in the system.

If you have an external network that already exist/imported on all DCs in RHV, it still possible to mark this network for import. The DCs drop down list is empty in the import dialog, but it is possible to press the 'Import' button. Once pressing the button, a UI exception is thrown - 

  2018-12-24 09:33:03,754+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-16) [] Permutation name: D76E9B989AB86B28D15F9DFA709FE4B9
2018-12-24 09:33:03,754+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-16) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'e' of undefined
        at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_191]
        at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.8.0_191]
        at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64) [gwt-servlet.jar:]
        at Unknown.new l1(webadmin-0.js)

Version-Release number of selected component (if applicable):
rhvm-4.3.0-0.6.alpha2.el7.noarch
ovirt-provider-ovn-1.2.17-1.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. To make it simple, have only 2 DCs, the 'Default' DC and 'DC1'
2. Create external network on the ovn provider 'ovn1' 
3. Import 'ovn1' to the 'Default' DC
4. Import 'ovn1' to 'DC1' 
5. Try to import 'ovn1' again

Actual results:
UI exception

Expected results:
- Or no UI exception
- Or shouldn't be possible to press 'Import' button if the external network is already exist on all DC in the engine.

Comment 1 Michael Burman 2018-12-25 12:46:08 UTC
It's not a regression, exist on rhvm-4.2.8.1-0.1.el7ev.noarch as well

Comment 2 Michael Burman 2022-03-22 09:08:05 UTC
Verified on - rhvm-4.5.0-0.237.el8ev.noarch

Comment 3 Sandro Bonazzola 2022-04-20 06:33:59 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.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.