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

Bug 1421725

Summary: Unable to change vm Pool Configuration. Receive "Uncaught exception occurred. Please try reloading the page".
Product: Red Hat Enterprise Virtualization Manager Reporter: Michal Skrivanek <michal.skrivanek>
Component: ovirt-engineAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED ERRATA QA Contact: sefi litmanovich <slitmano>
Severity: high Docs Contact:
Priority: high    
Version: 4.0.3CC: amureini, awels, bugs, gklein, kshukla, lsurette, melewis, mgoldboi, michal.skrivanek, mtessun, rbalakri, Rhev-m-bugs, slitmano, srevivo, tjelinek, tnisan, ykaul
Target Milestone: ovirt-4.0.7Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
With this update, an exception displayed in certain cases when editing virtual machine pools has been fixed.
Story Points: ---
Clone Of: 1388963 Environment:
Last Closed: 2017-03-16 15:33:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1364152, 1388963    
Bug Blocks:    

Description Michal Skrivanek 2017-02-13 14:33:18 UTC
Cloned for zstream

+++ This bug was initially created as a clone of Bug #1388963 +++

=============================================================================

Issue: Unable to update/change the vm Pool Configuration. Below error is received on the portal.

" Uncaught exception occurred. Please try reloading the page. Details: Exception caught: (TypeError)__gw$exception:..... 
Please have your administrator check the UI logs. "

-- Sometimes after reloading the page it works fine.

-- ui.logs show below error

2016-10-24 08:16:37,745 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-444) [] Permutation name: B9EF0FC1CAA0EFB1185DD4689D0EF52F
2016-10-24 08:16:37,745 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-444) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) 
 __gwt$exception: <skipped>: e.reb(...) is undefined
        at Unknown.Bv(Unknown Source)
        at Unknown.Jv(Unknown Source)
        at Unknown.D7(Unknown Source)
        at Unknown.G7(Unknown Source)
        at Unknown.Q6(Unknown Source)
        at Unknown.nq(Unknown Source)
        at Unknown.xq(Unknown Source)
        at Unknown.E2(Unknown Source)
        at Unknown.pq(Unknown Source)
        at Unknown.y9e(Unknown Source)
        at Unknown.anonymous(Unknown Source)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 __gwt$exception: <skipped>: e.reb(...) is undefined

Comment 3 sefi litmanovich 2017-02-20 13:44:19 UTC
Verified with rhevm-4.0.7.1-0.1.el7ev.noarch according to steps in orignial bug's comment# 55

- Steps to reproduce:
 - create a VM with a disk
 - create a template from this VM, call it T1
 - create a pool from T1 and set it to be based on the latest version of it
 - create a new VM with a disk
 - create a template from this new VM and make it a subversion of T1
 - go to edit pool dialog and change the template version to the base version
 - click OK

Pool edit was successful and no gwt errors were raised.

Comment 5 errata-xmlrpc 2017-03-16 15:33:36 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, 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://rhn.redhat.com/errata/RHBA-2017-0542.html