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

Bug 1513933

Summary: Cannot create iSCSI storage domain and LUN disks
Product: [oVirt] ovirt-engine Reporter: Idan Shaby <ishaby>
Component: Frontend.WebAdminAssignee: shani <sleviim>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: amureini, bugs, lleistne, pagranat, tnisan
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
rule-engine: blocker+
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: 2017-12-20 11:03:28 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:

Description Idan Shaby 2017-11-16 10:19:00 UTC
Description of problem:
When creating a storage domain, navigating to the iSCSI storage type leads to a ui exception.

Version-Release number of selected component (if applicable):
2e694e8bfc032d3916777c203991d6fe8dbfe726

How reproducible:
100%

Steps to Reproduce:
1. Open the New Domain window.
2. Navigate to iSCSI Storage Type.

Actual results:
UI exception:
2017-11-16 12:07:55,975+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-34) [] Permutation name: 759EF86A90021DBE4D71F55FDA2D7B3B
2017-11-16 12:07:55,975+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-34) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : a.d.d.u is undefined
	at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_151]
	at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.8.0_151]
	at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64) [gwt-servlet.jar:]
	at com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:25) [gwt-servlet.jar:]
	at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117) [gwt-servlet.jar:]
	at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127) [gwt-servlet.jar:]
	at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127) [gwt-servlet.jar:]
	at com.google.gwt.event.logical.shared.ValueChangeEvent.fire(ValueChangeEvent.java:40) [gwt-servlet.jar:]
	at org.ovirt.engine.ui.common.widget.editor.ListModelListBox.$lambda$2(ListModelListBox.java:251)
	at org.ovirt.engine.ui.common.widget.editor.ListModelListBox$lambda$2$Type.execute(ListModelListBox.java:251)
	at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167) [gwt-servlet.jar:]
	at com.google.gwt.core.client.impl.SchedulerImpl.$flushPostEventPumpCommands(SchedulerImpl.java:338) [gwt-servlet.jar:]
	at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:76) [gwt-servlet.jar:]
	at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:140) [gwt-servlet.jar:]
	at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) [gwt-servlet.jar:]
	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:]
	at Unknown.Ku/<(http://ishaby1.tlv.redhat.com:8080/ovirt-engine/webadmin/?locale=en_US#storage)
	at Unknown.d(http://ishaby1.tlv.redhat.com:8080/ovirt-engine/webadmin/?locale=en_US#storage)
	at Unknown.anonymous(Unknown)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : a.d.d.u is undefined
	at org.ovirt.engine.ui.common.widget.uicommon.storage.SanStorageLunToTargetList.$initRootNodeTable(SanStorageLunToTargetList.java:208)
	at org.ovirt.engine.ui.common.widget.uicommon.storage.SanStorageLunToTargetList.createHeaderWidget(SanStorageLunToTargetList.java:65)
	at org.ovirt.engine.ui.common.widget.uicommon.storage.AbstractSanStorageList.AbstractSanStorageList(AbstractSanStorageList.java:65)
	at org.ovirt.engine.ui.common.widget.uicommon.storage.SanStorageLunToTargetList.SanStorageLunToTargetList(SanStorageLunToTargetList.java:50)
	at org.ovirt.engine.ui.common.widget.uicommon.storage.IscsiLunToTargetView.$edit(IscsiLunToTargetView.java:42)
	at org.ovirt.engine.ui.common.widget.uicommon.storage.IscsiStorageView.$edit(IscsiStorageView.java:94)
	at org.ovirt.engine.ui.common.widget.uicommon.storage.IscsiStorageView.edit(IscsiStorageView.java:94)
	at org.ovirt.engine.ui.webadmin.section.main.view.popup.storage.StoragePopupView.$revealStorageView(StoragePopupView.java:257)
	at org.ovirt.engine.ui.webadmin.section.main.view.popup.storage.StoragePopupView$lambda$1$Type.eventRaised(StoragePopupView.java:229)
	at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
	at org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItem(ListModel.java:81)
	at org.ovirt.engine.ui.webadmin.section.main.view.popup.storage.StoragePopupView_availableStorageTypeItems_selectedItem_Context.$setInModel(StoragePopupView_availableStorageTypeItems_selectedItem_Context.java:19)
	at org.ovirt.engine.ui.webadmin.section.main.view.popup.storage.StoragePopupView_availableStorageTypeItems_selectedItem_Context.setInModel(StoragePopupView_availableStorageTypeItems_selectedItem_Context.java:19)
	at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$setInModel(UiCommonEditorVisitor.java:147)
	at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$lambda$0(UiCommonEditorVisitor.java:59)
	at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor$lambda$0$Type.onValueChange(UiCommonEditorVisitor.java:59)
	at com.google.gwt.event.logical.shared.ValueChangeEvent.dispatch(ValueChangeEvent.java:127) [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:]
	... 15 more

Comment 1 Lucie Leistnerova 2017-11-20 14:35:24 UTC
No UI error for iscsi storage, server can be discovered.

verified in ovirt-engine-webadmin-portal-4.2.0-0.0.master.20171119135709.git6d448d3.el7.centos.noarch

Comment 2 Daniel Erez 2017-11-23 13:55:00 UTC
*** Bug 1516632 has been marked as a duplicate of this bug. ***

Comment 3 Sandro Bonazzola 2017-12-20 11:03:28 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

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