Created attachment 1907368 [details] Web error from the browser. Created attachment 1907368 [details] Web error from the browser. Description of problem: Everytime I create a new vm and change the cluster in the background an error pops up. If i change the cluster back to the original it reports an error again. This only happens when the default template is selected. If i change to a different template and change the cluster there is no error. This all started when I added in a new host and created a new cluster. Version-Release number of selected component (if applicable): 4.5.2.2-1.el8 How reproducible: Every single time Steps to Reproduce: 1.Click on Virtual Machines 2.Click on New 3.Change the Cluster Actual results: Error pops up int the background behind the new VM window. Expected results: No error Additional info: The web error I am getting is attached to this bug. "exception caught: (TypeError) : Cannot read properties of undefined (reading 'Kh')" There are no errors in the engine.log Here is what the ui.log reports. 2022-08-24 07:46:20,920-04 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-25) [] Permutation name: 872EE01DC49AC3F81586694F1584D19D 2022-08-24 07:46:20,920-04 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-25) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read properties of undefined (reading 'Kh') at java.lang.Throwable.Throwable(Throwable.java:72) at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64) at Unknown.new t8(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.logical.shared.ValueChangeEvent.fire(ValueChangeEvent.java:40) at org.ovirt.engine.ui.common.widget.editor.ListModelListBox.$lambda$2(ListModelListBox.java:246) at org.ovirt.engine.ui.common.widget.editor.ListModelListBox$lambda$2$Type.execute(ListModelListBox.java:246) 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.eval(webadmin-0.js) at Unknown.d(webadmin-0.js) Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read properties of undefined (reading 'Kh') 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.vms.UnitVmModel.$compatibilityVersionChanged(UnitVmModel.java:2384) at org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.eventRaised(UnitVmModel.java:2223) at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99) at org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItem(ListModel.java:82) at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget_dataCenterWithClustersList_selectedItem_Context.$setInModel(AbstractVmPopupWidget_dataCenterWithClustersList_selectedItem_Context.java:19) at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget_dataCenterWithClustersList_selectedItem_Context.setInModel(AbstractVmPopupWidget_dataCenterWithClustersList_selectedItem_Context.java:19) at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$setInModel(UiCommonEditorVisitor.java:154) at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$lambda$0(UiCommonEditorVisitor.java:60) at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor$lambda$0$Type.onValueChange(UiCommonEditorVisitor.java:60) at com.google.gwt.event.logical.shared.ValueChangeEvent.dispatch(ValueChangeEvent.java:127) at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76) at com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173)
There is no issue actually adding a new VM there is just an error that pops up. The vm still adds correctly even if I change clusters.
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.
Is there something you need me to do? I can provide more logs. Please let me know what you need me to provide.
Looks like storage bug, maybe introduced in https://github.com/oVirt/ovirt-engine/pull/495
Just an FYI. I just updated the Ovirt Mananger to Version 4.5.2.4-1.el8 and it is still happening.
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.
(In reply to Lucia Jelinkova from comment #4) > Looks like storage bug, maybe introduced in > https://github.com/oVirt/ovirt-engine/pull/495 That's right :)
Verified. Checked it on rhv-4.5.3-0.1-DS-nightly and could reproduce it. Did the same steps as in the reproducible build and the issue is not seen there Verified on version: engine-4.5.3-0.2.el8ev vdsm-4.50.3.1-1.el8ev