Bug 2100812 - [RHV 4.4 SP1] UI exception while creating template of a VM
Summary: [RHV 4.4 SP1] UI exception while creating template of a VM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-web-ui
Version: 4.5.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Sharon Gratch
QA Contact: Guilherme Santos
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-24 10:56 UTC by Ulhas Surse
Modified: 2022-08-18 14:53 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-29 07:02:57 UTC
oVirt Team: UX
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
snapshot of make template error (108.24 KB, image/jpeg)
2022-07-27 02:49 UTC, Xiang Fang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-46496 0 None None None 2022-06-24 11:03:49 UTC
Red Hat Knowledge Base (Solution) 6965532 0 None None None 2022-07-14 14:28:19 UTC

Description Ulhas Surse 2022-06-24 10:56:54 UTC
Description of problem:
- There is UI exception while creating a VM template. 

Version-Release number of selected component (if applicable):
RHV 4.5 / RHV 4.4 SP1

How reproducible:
Always

Steps to Reproduce:
1. Create a RHEL 8 VM with/ without cloud-init installed. 
2. Try to create / make template  
3. UI exception would not allow creating template:

~~~
Uncaught exception occurred. Please try reloading the page. Details: (TypeError) : tgb(...) is undefined
Please have your administrator check the UI logs
~~~

Actual results:
unable to create template

Expected results:
Template should be created

Additional info:

Comment 12 Xiang Fang 2022-07-27 02:49:39 UTC
Created attachment 1899568 [details]
snapshot of make template error

the attached is the snapshot of error.

Comment 13 Xiang Fang 2022-07-28 01:22:42 UTC
I also tried to import the template from ova file and it was also failed.

Although the call path is difference from create template from VMs, the error message is same:
[] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : tgb(...) is undefined

here is detail ui.log output:
2022-07-27 20:00:58,142+08 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-15) [] Permutation name: 3CE9C1F8DC5CFDC234CAEAA2202AFDD5
2022-07-27 20:00:58,142+08 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-15) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : tgb(...) is undefined
        at org.ovirt.engine.ui.webadmin.section.main.view.popup.ImportTemplatesPopupView$2.$getValue(ImportTemplatesPopupView.java:157)
        at org.ovirt.engine.ui.webadmin.section.main.view.popup.ImportTemplatesPopupView$2.getValue(ImportTemplatesPopupView.java:157)
        at com.google.gwt.user.cellview.client.Column.render(Column.java:164)
        at com.google.gwt.user.cellview.client.AbstractCellTableBuilder.$renderCell(AbstractCellTableBuilder.java:188)
        at com.google.gwt.user.cellview.client.DefaultCellTableBuilder.$buildRowImpl(DefaultCellTableBuilder.java:62)
        at com.google.gwt.user.cellview.client.AbstractCellTableBuilder.$buildRow(AbstractCellTableBuilder.java:85)
        at com.google.gwt.user.cellview.client.AbstractCellTable.$buildRowValues(AbstractCellTable.java:2350)
        at com.google.gwt.user.cellview.client.AbstractCellTable.replaceAllChildren(AbstractCellTable.java:2149)
        at com.google.gwt.user.cellview.client.AbstractHasData$View.replaceAllChildren(AbstractHasData.java:265)
        at com.google.gwt.user.cellview.client.HasDataPresenter.$resolvePendingState(HasDataPresenter.java:1062)
        at com.google.gwt.user.cellview.client.HasDataPresenter$2.execute(HasDataPresenter.java:981)
        at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167)
        at com.google.gwt.core.client.impl.SchedulerImpl.$flushFinallyCommands(SchedulerImpl.java:272)
        at com.google.gwt.core.client.impl.Impl.exit(Impl.java:383)
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:345)
        at Unknown.Ny/<(https://icx-dc-mgmt.icx.com/ovirt-engine/webadmin/?locale=en_US line 9 > injectedScript)
        at Unknown.anonymous(Unknown)

Comment 14 Michal Skrivanek 2022-07-29 07:02:57 UTC
see bug 2081009
this is fixed in ovirt-engine-4.5.0.8 / RHV 4.5.1(https://access.redhat.com/errata/RHSA-2022:5555)

as for RHV appliance, you have to update it duringafter deployment, it's 4.5.0


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