Bug 2134549 - not able to import disk in 4.5.2
Summary: not able to import disk in 4.5.2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.5.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.5.3
: ---
Assignee: Arik
QA Contact: Ilia Markelov
URL:
Whiteboard:
Depends On: 2121083
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-13 15:27 UTC by Marian Jankular
Modified: 2023-05-20 14:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Previously, importing a disk from a storage domain could not be triggered using the Administrator Portal. In this release, it is now possible to import a disk from a storage domain using the Administrator Portal.
Clone Of:
Environment:
Last Closed: 2022-11-16 12:17:27 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47977 0 None None None 2022-10-13 15:33:00 UTC
Red Hat Knowledge Base (Solution) 6980358 0 None None None 2022-10-27 03:25:17 UTC
Red Hat Product Errata RHSA-2022:8502 0 None None None 2022-11-16 12:17:37 UTC

Description Marian Jankular 2022-10-13 15:27:56 UTC
Description of problem:
not able to import disk in 4.5.2

Version-Release number of selected component (if applicable):
ovirt-engine-4.5.2.5-0.1.el8ev.noarch

How reproducible:
everytime

Steps to Reproduce:
1. create disk in storage domain (so far i did reproduced in blockbased SD)
2. put the sd in the maintenance and detach from datacenter
3. attach to the DC again and try to import disk in "Disk Import" tab

Actual results:
not possible to import the any disk getting following exceprion in UI:
========================================================================
Uncaught exception occurred. Please try reloading the page. Details: (TypeError) : b.i is undefined
Please have your administrator check the UI logs
========================================================================


Expected results:
disk import will work


Additional info:

Comment 1 Marian Jankular 2022-10-13 15:29:12 UTC
/var/log/ovirt-engine/ui.log

2022-10-13 13:46:46,592Z ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-2) [] Permutation name: 84C0A34789F771C15BDA56DB35481BDE
2022-10-13 13:46:46,593Z ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-2) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : b.i is undefined
        at org.ovirt.engine.ui.common.widget.uicommon.storage.DisksAllocationView.$addDiskList(DisksAllocationView.java:190)
        at org.ovirt.engine.ui.common.widget.uicommon.storage.DisksAllocationView.$lambda$0(DisksAllocationView.java:179)
        at org.ovirt.engine.ui.common.widget.uicommon.storage.DisksAllocationView$lambda$0$Type.eventRaised(DisksAllocationView.java:179)
        at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
        at org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$onPropertyChanged(DisksAllocationModel.java:310)
        at org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$setQuotaEnforcementType(DisksAllocationModel.java:121)
        at org.ovirt.engine.ui.uicommonweb.models.storage.StorageRegisterDiskImageListModel.$lambda$2(StorageRegisterDiskImageListModel.java:134)
        at org.ovirt.engine.ui.uicommonweb.models.storage.StorageRegisterDiskImageListModel$lambda$2$Type.onSuccess(StorageRegisterDiskImageListModel.java:134)
        at org.ovirt.engine.ui.frontend.Frontend$1.$onSuccess(Frontend.java:239)
        at org.ovirt.engine.ui.frontend.Frontend$1.onSuccess(Frontend.java:239)
        at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.$onSuccess(OperationProcessor.java:133)
        at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.onSuccess(OperationProcessor.java:133)
        at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.$onSuccess(GWTRPCCommunicationProvider.java:161)
        at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.onSuccess(GWTRPCCommunicationProvider.java:161)
        at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:198)
        at com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:233)
        at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409)
        at Unknown.onreadystatechange<(https://test-he-rhvm.nat/ovirt-engine/webadmin/?locale=en_US line 9 > injectedScript)
        at com.google.gwt.core.client.impl.Impl.apply(Impl.java:306)
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:345)
        at Unknown.My/<(https://test-he-rhvm.nat/ovirt-engine/webadmin/?locale=en_US line 9 > injectedScript)
        at Unknown.EventHandlerNonNull*KRf(https://test-he-rhvm.nat/ovirt-engine/webadmin/?locale=en_US line 9 > injectedScript)
        at com.google.gwt.http.client.RequestBuilder.$doSend(RequestBuilder.java:381)
        at com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.$doInvoke(RemoteServiceProxy.java:364)
        at com.google.gwt.user.client.rpc.impl.RemoteServiceProxy$ServiceHelper.$finish(RemoteServiceProxy.java:69)
        at org.ovirt.engine.ui.frontend.gwtservices.GenericApiGWTService_Proxy.$runQuery(GenericApiGWTService_Proxy.java:102)
        at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3.serviceFound(GWTRPCCommunicationProvider.java:150)
        at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider.$getService(GWTRPCCommunicationProvider.java:63)
        at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider.$transmitOperation(GWTRPCCommunicationProvider.java:99)
        at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider.$transmitMultipleQueries(GWTRPCCommunicationProvider.java:240)
        at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider.$transmitOperationList(GWTRPCCommunicationProvider.java:206)
        at org.ovirt.engine.ui.frontend.communication.OperationProcessor.$processAvailableOperations(OperationProcessor.java:87)
        at org.ovirt.engine.ui.frontend.communication.OperationProcessor$lambda$0$Type.execute(OperationProcessor.java:56)
        at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167)
        at com.google.gwt.core.client.impl.SchedulerImpl.$flushPostEventPumpCommands(SchedulerImpl.java:338)
        at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:76)
        at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:140)
        at com.google.gwt.core.client.impl.Impl.apply(Impl.java:306)
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:345)
        at Unknown.My/<(https://test-he-rhvm.nat/ovirt-engine/webadmin/?locale=en_US line 9 > injectedScript)
        at Unknown.d(https://test-he-rhvm.nat/ovirt-engine/webadmin/?locale=en_US line 9 > injectedScript)
        at Unknown.setTimeout handler*rz(https://test-he-rhvm.nat/ovirt-engine/webadmin/?locale=en_US line 9 > injectedScript)
        at com.google.gwt.core.client.impl.SchedulerImpl.$maybeSchedulePostEventPumpCommands(SchedulerImpl.java:359)
        at com.google.gwt.core.client.impl.SchedulerImpl.$scheduleDeferred(SchedulerImpl.java:286)
        at org.gwtbootstrap3.client.ui.base.mixin.IconTextMixin.$setIcon(IconTextMixin.java:87)
        at org.gwtbootstrap3.client.ui.Anchor.$setIcon(Anchor.java:157)
        at org.ovirt.engine.ui.common.widget.dialog.SimpleDialogPanel_WidgetUiBinderImpl$Widgets.$build_f_FlowPanel1(SimpleDialogPanel_WidgetUiBinderImpl.java:112)
        at org.ovirt.engine.ui.common.widget.dialog.SimpleDialogPanel.SimpleDialogPanel(SimpleDialogPanel.java:70)
        at org.ovirt.engine.ui.webadmin.section.main.view.popup.storage.DisksAllocationPopupView_ViewUiBinderImpl$Widgets.$build_f_SimpleDialogPanel1(DisksAllocationPopupView_ViewUiBinderImpl.java:96)
        at org.ovirt.engine.ui.webadmin.section.main.view.popup.storage.DisksAllocationPopupView.DisksAllocationPopupView(DisksAllocationPopupView.java:53)
        at org.ovirt.engine.ui.webadmin.section.main.presenter.popup.storage.com_gwtplatform_mvp_client_DesktopGinjector_DesktopGinjectorGinjector_fragment.$get_Key$type$org$ovirt$engine$ui$webadmin$section$main$presenter$popup$storage$DisksAllocationPopupPresenterWidget$_annotation$$none$$(com_gwtplatform_mvp_client_DesktopGinjector_DesktopGinjectorGinjector_fragment.java:396)
        at org.ovirt.engine.ui.webadmin.gin.uicommon.StorageModule$5.$getModelPopup(StorageModule.java:257)
        at org.ovirt.engine.ui.webadmin.gin.uicommon.StorageModule$5.getModelPopup(StorageModule.java:257)
        at org.ovirt.engine.ui.common.uicommon.model.TabModelProvider.getModelPopup(TabModelProvider.java:101)
        at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler.$handleWindowModelChange(ModelBoundPopupHandler.java:121)
        at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler.$lambda$0(ModelBoundPopupHandler.java:85)
        at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler$lambda$0$Type.eventRaised(ModelBoundPopupHandler.java:85)
        at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
        at org.ovirt.engine.ui.uicommonweb.models.Model.$onPropertyChanged(Model.java:487)
        at org.ovirt.engine.ui.uicommonweb.models.Model.onPropertyChanged(Model.java:487)
        at org.ovirt.engine.ui.uicommonweb.models.Model.$setWindow(Model.java:97)
        at org.ovirt.engine.ui.uicommonweb.models.storage.StorageRegisterDiskImageListModel.$register(StorageRegisterDiskImageListModel.java:117)
        at org.ovirt.engine.ui.uicommonweb.models.storage.StorageRegisterDiskImageListModel.executeCommand(StorageRegisterDiskImageListModel.java:195)
        at org.ovirt.engine.ui.uicommonweb.UICommand.$execute(UICommand.java:167)
        at org.ovirt.engine.ui.common.widget.action.UiCommandButtonDefinition.onClick(UiCommandButtonDefinition.java:128)
        at org.ovirt.engine.ui.common.presenter.ActionPanelPresenterWidget.$lambda$2(ActionPanelPresenterWidget.java:163)
        at org.ovirt.engine.ui.common.presenter.ActionPanelPresenterWidget$lambda$2$Type.onClick(ActionPanelPresenterWidget.java:163)
        at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:55)
        at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76)
        at com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173)
        at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117)
        at Unknown.anonymous(Unknown)

Comment 2 Benny Zlotnik 2022-10-18 13:25:22 UTC
I think it's the same issue as https://bugzilla.redhat.com/show_bug.cgi?id=2121083

Marian, could you check on 4.5.3?

Comment 3 Arik 2022-10-23 11:59:44 UTC
(In reply to Benny Zlotnik from comment #2)
> I think it's the same issue as
> https://bugzilla.redhat.com/show_bug.cgi?id=2121083

Right, I tested it on my environment - it works with 4.5.3 and the issue reproduces when reverting the fix for bz 2121083, so moving to ON_QA
However, I'm lowering the severity of this bug - it shouldn't be urgent, a possible workaround is to initiate import/register-disk through the API

Comment 7 Ilia Markelov 2022-10-25 13:58:18 UTC
Verified.

Disk import operation went successfully after performing the described operations.

Version:
ovirt-engine-4.5.3.1-2.el8ev

Comment 11 errata-xmlrpc 2022-11-16 12:17:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.3] bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:8502


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