Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1781700

Summary: Failed to resume disk upload via the UI - exception raised
Product: [oVirt] ovirt-engine Reporter: Eyal Shenitzky <eshenitz>
Component: Frontend.WebAdminAssignee: Ahmad Khiet <akhiet>
Status: CLOSED DUPLICATE QA Contact: Avihai <aefrat>
Severity: high Docs Contact:
Priority: unspecified    
Version: futureCC: bugs, izuckerm, tnisan
Target Milestone: ovirt-4.4.3Flags: pm-rhel: ovirt-4.4+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-05 11:59:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ui error
none
logs none

Description Eyal Shenitzky 2019-12-10 12:31:04 UTC
Description of problem:
An exception is raise when pressing the 'resume' button when trying to resume disk upload.

2019-12-10 14:26:17,251+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-2) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'f' of undefined
        at java.lang.Throwable.Throwable(Throwable.java:70)
        at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32)
        at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64)
        at Unknown.new K1(webadmin-0.js)
        at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117)
        at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127)
        at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127)
        at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:110)
        at com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163)
        at org.gwtbootstrap3.client.ui.Anchor.onBrowserEvent(Anchor.java:542)
        at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1415)
        at com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:312)
        at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236)
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275)
        at Unknown.eval(webadmin-0.js)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'f' of undefined
        at org.ovirt.engine.core.common.businessentities.StorageDomain.$getId(StorageDomain.java:73)
        at org.ovirt.engine.ui.uicommonweb.models.storage.UploadImageModel.showUploadDialog(UploadImageModel.java:429)
        at org.ovirt.engine.ui.uicommonweb.models.disks.DiskListModel.$resumeUpload(DiskListModel.java:470)
        at org.ovirt.engine.ui.uicommonweb.models.disks.DiskListModel.executeCommand(DiskListModel.java:623)
 

Version-Release number of selected component (if applicable):
4.4.0_master

How reproducible:
100%

Steps to Reproduce:
1. Start upload disk to the environment
2. Pause the disk upload
3. Resume the disk upload

Actual results:
UI exception is thrown

Expected results:
disk upload should resume 

Additional info:

Comment 1 Ilan Zuckerman 2020-05-13 11:38:06 UTC
Just re-produced this Issue again on:

ovirt-engine-4.4.0-0.37.master.el8ev.noarch
ovirt-imageio-daemon-2.0.5-0.el8ev.x86_64
ovirt-imageio-common-2.0.5-0.el8ev.x86_64

When resuming a paused disk upload, an uncaught exception is seen on the UI and ui log [1]. See image attached.
This is probably a duplicate of
https://bugzilla.redhat.com/show_bug.cgi?id=1344367
But since this bug is ~4 years old, i decided to open a new one.

[1]:
2020-05-13 14:17:25,137+03 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-40) [] Permutation name: 7E7BABDF3192F35063E42ECDADF0844C
2020-05-13 14:17:25,138+03 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-40) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'f' of undefined
        at Unknown.google.gwt.event.shared.UmbrellaException: Exception caught:(Unknown)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'f' of undefined


Attaching the following logs:

/var/log/ovirt-engine/ui.log
/var/log/ovirt-imageio/daemon.log  (both engine and host)
/var/log/ovirt-engine/engine.log

Comment 2 Ilan Zuckerman 2020-05-13 11:38:32 UTC
Created attachment 1688010 [details]
ui error

Comment 3 Ilan Zuckerman 2020-05-13 11:38:57 UTC
Created attachment 1688011 [details]
logs

Comment 4 Tal Nisan 2020-08-05 11:59:56 UTC

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