Bug 2142647 - Error after MigrationPolicy deletion
Summary: Error after MigrationPolicy deletion
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.12.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.13.0
Assignee: Aviv Turgeman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-14 18:03 UTC by Hilda Stastna
Modified: 2023-01-24 13:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-24 13:42:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Error displayed after migration policy deletion (18.07 KB, image/png)
2022-11-14 18:03 UTC, Hilda Stastna
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 968 0 None Merged Bug 2142647: Delete modal lead to wrong URL 2022-11-22 20:18:49 UTC
Red Hat Issue Tracker CNV-22493 0 None None None 2022-11-14 18:11:31 UTC
Red Hat Product Errata RHSA-2023:0408 0 None None None 2023-01-24 13:42:20 UTC

Description Hilda Stastna 2022-11-14 18:03:43 UTC
Created attachment 1924300 [details]
Error displayed after migration policy deletion

Description of problem:
Error 404 is displayed after MigrationPolicy deletion.

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

How reproducible:
always

Steps to Reproduce:
1. Go to Virtualization > MigrationPolicies
2. Create a migration policy as an admin or a privileged user,
   if there is no any migration policy
3. Try to delete the migration policy

Actual results:
The following text is displayed:
404: Page Not Found
The server doesn't have a resource type "migr". Try refreshing the page if it was recently added.

Expected results:
The remaining list of migration policies or the page with the button to create a migration policy is displayed.

Additional info:
It does not matter from where a migration policy is deleted (from the list or when being in its details page).

Comment 1 Hilda Stastna 2022-11-14 18:55:33 UTC
Note that this bug and the exact text of the error depends on the name of the deleted migration policy.

Comment 2 Hilda Stastna 2022-11-15 11:56:41 UTC
To make sure that anyone can reproduce this:
Try to name the policy "a", for example, or some other character present in the url, or some substring of the url string you can see before you delete the policy.

Comment 6 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


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