Bug 2142470

Summary: Delete a VM or template from all projects leads to 404 error
Product: Container Native Virtualization (CNV) Reporter: Guohua Ouyang <gouyang>
Component: User ExperienceAssignee: Aviv Turgeman <aturgema>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.12.0CC: aturgema, gouyang, hstastna, lkladnit
Target Milestone: ---   
Target Release: 4.12.0   
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: 2023-01-24 13:42:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Guohua Ouyang 2022-11-14 06:11:14 UTC
Description of problem:
Delete a VM or template from all projects leads to 404 error, and the URL changes to something like below:
https://console-openshift-console.apps.uit-412-1110.cnv-qe.rhcloud.com/k8s/ns/#ALL_NS#,e=%3E{e!==t&&n(e),e!==g&&h(e),y(Object(i.l)(e))}/kubevirt.io~v1~VirtualMachine

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


How reproducible:


Steps to Reproduce:
1. delete a vm under "all projects"
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Aviv Turgeman 2022-11-14 08:06:19 UTC
*** Bug 2141729 has been marked as a duplicate of this bug. ***

Comment 2 Hilda Stastna 2022-11-14 17:50:40 UTC
Note that VM deletion works as expected, no matter the way I create the VM, no matter from where I delete the created VM (from the list or from the Details page).
Instead, the problem is with the deletion of the VM Templates, and it does not matter, from where you delete the template or which project is actually selected.

Comment 3 Guohua Ouyang 2022-11-16 07:35:33 UTC
verified on v4.12.0-1756

Comment 7 errata-xmlrpc 2023-01-24 13:42:07 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 (Important: OpenShift Virtualization 4.12.0 Images security update), 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/RHSA-2023:0408