Bug 1461645
| Summary: | [Admin Portal] Uncaught exception occurred when deleting template from storage domain (related to delete protection?) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | vaibhav <vpagar> | ||||||
| Component: | ovirt-web-ui | Assignee: | Tal Nisan <tnisan> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Raz Tamir <ratamir> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 4.0.6 | CC: | aefrat, lsvaty, ratamir, tnisan, vpagar, ylavi | ||||||
| Target Milestone: | ovirt-4.2.0 | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||||
| Doc Text: |
undefined
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2018-05-15 17:56:17 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
vaibhav
2017-06-15 04:33:39 UTC
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 BZ<2>Jira Resync |