Bug 2145092 - "No MigrationPolicies are defined yet" flash by on MigrationPolicies page
Summary: "No MigrationPolicies are defined yet" flash by on MigrationPolicies page
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
medium
medium
Target Milestone: ---
: 4.13.0
Assignee: Hilda Stastna
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-23 05:45 UTC by Guohua Ouyang
Modified: 2023-05-18 02:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-18 02:55:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
the screen flash by (45.14 KB, image/png)
2022-11-23 05:45 UTC, Guohua Ouyang
no flags Details
flash screen while deleting a migrationpolicy (642.76 KB, application/octet-stream)
2022-11-25 01:29 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 1010 0 None open Bug 2145092: Display migrationPoliciesEmptyState image for slow network 2023-01-04 14:28:43 UTC
Red Hat Issue Tracker CNV-22800 0 None None None 2022-11-23 05:57:14 UTC
Red Hat Product Errata RHSA-2023:3205 0 None None None 2023-05-18 02:57:02 UTC

Description Guohua Ouyang 2022-11-23 05:45:07 UTC
Created attachment 1926559 [details]
the screen flash by

Description of problem:
Visit the MigrationPolicies page, if it's empty, the screen "No MigrationPolicies are defined yet" without image is flashed by, after it, it loaded with an image displaying above "No MigrationPolicies are defined yet".

This behavior can be observed whenever visit the empty MigrationPolicies list page.

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


How reproducible:


Steps to Reproduce:
1. create a MigrationPolicy and then delete it
2.
3.

Actual results:
there is a flash screen

Expected results:
there is no flash screen

Additional info:

Comment 1 Hilda Stastna 2022-11-24 16:45:55 UTC
Hi Guohua,

I was not able to reproduce the issue in uit-413-1117, nor in uit-412-dev. Is this still reproducible? If yes, can I please, ask you for a video? Thanks a lot.

Comment 2 Guohua Ouyang 2022-11-25 01:29:02 UTC
Created attachment 1927326 [details]
flash screen while deleting a migrationpolicy

Comment 4 Hilda Stastna 2022-11-25 12:12:07 UTC
Thank you very much for the attached video, Guohua. 
I was not able to reproduce that anyway. It works as expected to me, I tried in Firefox, Chrome, Chromium browsers.
IMO that can be a very specific issue to your env.
Did you try it on the same clusters I've mentioned in Comment 1?

Comment 5 Guohua Ouyang 2022-11-26 02:11:51 UTC
(In reply to Hilda Stastna from comment #4)
> Thank you very much for the attached video, Guohua. 
> I was not able to reproduce that anyway. It works as expected to me, I tried
> in Firefox, Chrome, Chromium browsers.
> IMO that can be a very specific issue to your env.
> Did you try it on the same clusters I've mentioned in Comment 1?

It's reproducible on every cluster in both firefox and chrome.

Comment 6 Hilda Stastna 2022-12-05 13:37:44 UTC
I am sorry, I still cannot reproduce on any of the actual QE clusters, works as expected, see the attached video I've recorded. 
There must be something very specific causing this issue (if it's still reproducible). Thanks.

Comment 8 Phillip Bailey 2022-12-05 15:03:54 UTC
The problem can be reproduced (and more easily worked on) by throttling the network connection in the browser. In Chrome, open the developer tools and go to the Network tab. Click the "No throttling" dropdown to the right of the "Disable Cache" checkbox. Select the "Slow 3G" option. You should see the incorrect behavior when following the reproduction steps.

Comment 11 Hilda Stastna 2023-01-04 13:25:06 UTC
Thank you very much, Avital, yes, using the svg format of the picture helped to get this bug fixed, together with specifying width and height of the displayed picture.

Comment 14 errata-xmlrpc 2023-05-18 02:55:41 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 (Moderate: OpenShift Virtualization 4.13.0 Images security, bug fix, and enhancement 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:3205


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