Bug 2145092

Summary: "No MigrationPolicies are defined yet" flash by on MigrationPolicies page
Product: Container Native Virtualization (CNV) Reporter: Guohua Ouyang <gouyang>
Component: User ExperienceAssignee: Hilda Stastna <hstastna>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.12.0CC: apinnick, gouyang, hstastna, phbailey
Target Milestone: ---   
Target Release: 4.13.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-05-18 02:55:41 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:
Attachments:
Description Flags
the screen flash by
none
flash screen while deleting a migrationpolicy none

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