Red Hat Bugzilla – Bug 1461645
[Admin Portal] Uncaught exception occurred when deleting template from storage domain (related to delete protection?)
Last modified: 2018-05-15 13:56:26 EDT
Description of problem: Uncaught exception occurred when deleting template from storage domain. ~~~~~~ 2017-06-13 19:25:36,813 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-8) [] Permutation name: 48526BF4A45B24ED366586696A8D363E 2017-06-13 19:25:36,813 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-8) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: undefined at Unknown.Ev(webadmin-0.js@25078) at Unknown.Mv(webadmin-0.js@41) at Unknown.X7(webadmin-0.js@19) at Unknown.$7(webadmin-0.js@19) at Unknown.i7(webadmin-0.js@117) at Unknown.oq(webadmin-0.js@26) at Unknown.yq(webadmin-0.js@23798) at Unknown.Y2(webadmin-0.js@149) at Unknown.qq(webadmin-0.js@112) at Unknown.R9e(webadmin-0.js@964) at Unknown.z$e(webadmin-0.js@85) at Unknown.B0e(webadmin-0.js@46) at Unknown.Sx(webadmin-0.js@29) at Unknown.Wx(webadmin-0.js@57) at Unknown.eval(webadmin-0.js@54) at Unknown.OC(webadmin-0.js@20) at Unknown.v9e(webadmin-0.js@98) at Unknown.lvl(webadmin-0.js@10635) at Unknown.R9e(webadmin-0.js@582) at Unknown.z$e(webadmin-0.js@85) at Unknown.y$e(webadmin-0.js@60) at Unknown.z0e(webadmin-0.js@52) at Unknown.Sx(webadmin-0.js@29) at Unknown.Wx(webadmin-0.js@57) at Unknown.eval(webadmin-0.js@54) Caused by: java.lang.ClassCastException ~~~~~~~~~ Version-Release number of selected component (if applicable): RHEV 4.0.6 Actual results: uncaught exception Expected results: ui without uncaught exception popup Additional info:
Created attachment 1287904 [details] UI.log
Tal, isn't this a dup of a bug we already have our sights on?
Hard to tell, the logs are obfuscated, I'll try and reproduce in the meanwhile but vaibhav, can you please add logs after installing the symbols package?
Hello Tal, I tried to remove template from API and then I got the exact error message because of what it was failing. I disabled "Delete Protection" from database and tried to delete template so this time I didn't got any GUI error. Command used to delete template :- ~~~~~~~~~~~~~~~~~~~ [root@dhcp8-54 ~]# curl -k --request DELETE --header 'Version: 4' --header 'Accept: application/xml' --user 'admin@internal:redhat.com' https://dhcp8-54.gsslab.pnq.redhat.com/ovirt-engine/api/templates/67cef94c-0900-4b48-9a65-89349ebcb0f4 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <fault> <detail>[Cannot remove Template. Delete protection is enabled. In order to delete, disable Delete protection first.]</detail> <reason>Operation Failed</reason> </fault> ~~~~~~~~~~~~~~~~~~~ I think the error in GUI should give error about "Delete protection"
Created attachment 1321525 [details] Screenshot of the error pop-up when deleting a write-protected template This seems to have been solved as part of the 4.2 GUI overhaul. Moving to MODIFIED.
Verified on ovirt-engine-4.2.0-0.0.master.20171113223918.git25568c3.el7.centos No exception when deleting template - UI and API
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://access.redhat.com/errata/RHBA-2018:1515