Bug 1390000 - virt-v2v: VMs cannot be imported from external providers due to webadmin uncaught exception.
Summary: virt-v2v: VMs cannot be imported from external providers due to webadmin unca...
Keywords:
Status: CLOSED DUPLICATE of bug 1389998
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.0.5
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ovirt-4.0.5
: ---
Assignee: bugs@ovirt.org
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks: 1377271
TreeView+ depends on / blocked
 
Reported: 2016-10-30 15:10 UTC by Nisim Simsolo
Modified: 2016-11-14 23:12 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-31 11:32:40 UTC
oVirt Team: UX
Embargoed:
michal.skrivanek: ovirt-4.0.z?
michal.skrivanek: blocker?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)
ui.log (195.04 KB, text/plain)
2016-10-30 15:13 UTC, Nisim Simsolo
no flags Details
engine.log (287.01 KB, application/x-xz)
2016-10-30 15:15 UTC, Nisim Simsolo
no flags Details
vdsm.log (43.96 KB, application/x-xz)
2016-10-30 15:17 UTC, Nisim Simsolo
no flags Details

Description Nisim Simsolo 2016-10-30 15:10:20 UTC
Description of problem:
When moving to second import dialog, an uncaught exception occurs and import dialog is terminated. In such case, VMs cannot be imported from any external provider.

Version-Release number of selected component (if applicable):
ovirt-engine-4.0.5.4-0.1.el7ev
qemu-kvm-rhev-2.6.0-27.el7.x86_64
vdsm-4.18.15.2-1.el7ev.x86_64
libvirt-client-2.0.0-10.el7.x86_64

How reproducible:
100%, verified also on different setups.
Relevant for VMware, XEN and KVM providers.

Steps to Reproduce:
1. Browse webadmin -> virtual machines tab -> import
2. Enter external provider details, click load, select VM to import
3. Click next

Actual results:
Import dialog terminated. 
Inspect element console shows that an uncaught exception occurred:
2016-10-30 17:04:49,624 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-10) [] Permutation name: 2D3D9270307C9078085A70A0F003D07C
2016-10-30 17:04:49,624 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-10) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) 
 __gwt$exception: <skipped>: Cannot read property 'Tc' of undefined

Expected results:
Import dialog should not be terminated.

Additional info:
ui.log (with webadmin-portal-debuginfo), engine.log and vdsm.log attached.
issue occurred at: 2016-10-30 17:04:49,624

Comment 1 Nisim Simsolo 2016-10-30 15:13:57 UTC
Created attachment 1215567 [details]
ui.log

Comment 2 Nisim Simsolo 2016-10-30 15:15:19 UTC
Created attachment 1215568 [details]
engine.log

Comment 3 Nisim Simsolo 2016-10-30 15:17:07 UTC
Created attachment 1215569 [details]
vdsm.log

Comment 4 Michal Skrivanek 2016-10-31 06:18:51 UTC
Possibly a duplicate of bug 1389998

Comment 5 Yaniv Kaul 2016-10-31 06:24:00 UTC
Copy-paste of full stack (so in the future it can be searched in Bugzilla):
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 __gwt$exception: <skipped>: Cannot read property 'Tc' of undefined
	at org.ovirt.engine.ui.common.widget.AbstractUiCommandButton.$cleanup(AbstractUiCommandButton.java:108)
	at org.ovirt.engine.ui.webadmin.section.main.view.popup.ImportVmsPopupView_DriverImpl.$cleanup(ImportVmsPopupView_DriverImpl.java:107)
	at org.ovirt.engine.ui.webadmin.section.main.view.popup.ImportVmsPopupView.cleanup(ImportVmsPopupView.java:484)
	at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget.$hideAndUnbind(AbstractModelBoundPopupPresenterWidget.java:272)
	at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler.$handleWindowModelChange(ModelBoundPopupHandler.java:80)
	at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler$1.eventRaised(ModelBoundPopupHandler.java:61)
	at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:114)
	at org.ovirt.engine.ui.uicommonweb.models.Model.$onPropertyChanged(Model.java:470)
	at org.ovirt.engine.ui.uicommonweb.models.Model.onPropertyChanged(Model.java:470)
	at org.ovirt.engine.ui.uicommonweb.models.Model.$setWindow(Model.java:92)
	at org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel.$onConfigureVmsToImport(VmListModel.java:2307)
	at org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel.$executeCommand(VmListModel.java:2085)
	at org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel.executeCommand(VmListModel.java:2085)
	at org.ovirt.engine.ui.uicommonweb.UICommand.$execute(UICommand.java:163)
	at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget$6.onClick(AbstractModelBoundPopupPresenterWidget.java:334)
	at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:55) [gwt-servlet.jar:]
	at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76) [gwt-servlet.jar:]
	at com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173) [gwt-servlet.jar:]
	... 21 more

Comment 6 Tomas Jelinek 2016-10-31 08:01:56 UTC
@Greg: it looks a lot like dup of 1389998. While fixing it, could you please verify it resolves also this?

Comment 7 Tomas Jelinek 2016-10-31 08:20:20 UTC
Not sure if duplicate or just caused by the same as 1389998 - moving to UX for investigation.

Comment 8 Vojtech Szocs 2016-10-31 11:27:31 UTC
>  at org.ovirt.engine.ui.common.widget.AbstractUiCommandButton.$cleanup(AbstractUiCommandButton.java:108)
>  at org.ovirt.engine.ui.webadmin.section.main.view.popup.ImportVmsPopupView_DriverImpl.$cleanup(ImportVmsPopupView_DriverImpl.java:107)

NPE due to dialog object cleanup introduced recently, I'll investigate.

Comment 9 Vojtech Szocs 2016-10-31 11:30:25 UTC
This is the same issue as bug 1389998

Comment 10 Oved Ourfali 2016-10-31 11:32:40 UTC

*** This bug has been marked as a duplicate of bug 1389998 ***


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