Bug 1919308

Summary: [MTC-UI] Blank screen after executing a Rollback
Product: Migration Toolkit for Containers Reporter: Sergio <sregidor>
Component: UIAssignee: John Matthews <jmatthew>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: medium Docs Contact: Avital Pinnick <apinnick>
Priority: unspecified    
Version: 1.4.0CC: chezhang, ernelson, rjohnson, rpattath, whu, xjiang
Target Milestone: ---   
Target Release: 1.4.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: 2021-02-11 12:55:27 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 Sergio 2021-01-22 14:58:02 UTC
Description of problem:
When we execute a Rollback using the UI, the result is a blank screen in the browser and an error in the browser's console


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


How reproducible:
Intermittent.

Steps to Reproduce:
1. Migrate any application
2. In the UI, click on the migration plan's kebab and click on the "Rollback" button.


Actual results:
The browser's screen is blank. Refreshing the browser fixes the issue and MTC continues working normally.


We can see this error in the browser's console

TypeError: Cannot read property 'some' of undefined
    at app.bundle.js:50
    at Array.findIndex (<anonymous>)
    at app.bundle.js:50
    at Array.map (<anonymous>)
    at app.bundle.js:50
    at app.bundle.js:50
    at app.bundle.js:50
    at app.bundle.js:50
    at app.bundle.js:50
    at app.bundle.js:50

Expected results:
There should be no problem in the UI when a Rollback is executed.

Additional info:

Comment 5 whu 2021-02-04 04:49:09 UTC
Have tried many times in the latest MTC 1.4.0.  have not hit blank screen problem.

registry.redhat.io/rhmtc/openshift-migration-rhel7-operator@sha256:085a42a4bdf32cd0ae12cb5af17d6ee6274a577a67298708a2eff3220e08fc23

Comment 7 errata-xmlrpc 2021-02-11 12:55:27 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 (Migration Toolkit for Containers (MTC) tool image release advisory 1.4.0), 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-2020:5329