Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2011785

Summary: Migration plan status on "Migration plans" page is "Unknown" for several seconds
Product: Migration Toolkit for Virtualization Reporter: kpunwatk
Component: GeneralAssignee: Mike Turley <mturley>
Status: CLOSED ERRATA QA Contact: kpunwatk
Severity: unspecified Docs Contact: Avital Pinnick <apinnick>
Priority: unspecified    
Version: 2.2.0CC: apinnick, fdupont, istein, mturley
Target Milestone: ---Keywords: Regression
Target Release: 2.2.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-12-09 19:20:58 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 kpunwatk 2021-10-07 11:50:12 UTC
Description of problem:

On a PSI clusters with recent MTV build noticed that sometimes for around 10 sec the displayed plan status is "Unknown".

Version-Release number of selected component (if applicable):
MTV_2.2.0-20 (iib: 113682)
CNV4.9.0-232 (hcoversion)
OCP4.9.0

Steps to Reproduce:
1.Create a new Migration Plan 
2.Check the plan status in the UI

Actual results:
Plan status is Unknown for few seconds 


Expected results:
Plan status should be Ready.

Comment 1 Mike Turley 2021-10-07 15:10:04 UTC
Reproduced this and observed that the Unknown status is appearing when the plan CR does not yet have a top-level `status` property at all. That property was previously expected to always be present, even if empty. Fix incoming.

Comment 2 Mike Turley 2021-10-07 16:24:32 UTC
https://github.com/konveyor/forklift-ui/pull/797

Comment 3 Ilanit Stein 2021-10-10 06:44:56 UTC
Fixed in MTV-2.2.0-39

Comment 4 kpunwatk 2021-10-19 10:37:20 UTC
On New MTV Builds Doesn't Observe the "Unknown" plan status in UI.
Verified on MTV-2.2.0-52/CNV-4.9.0-249.

Comment 7 errata-xmlrpc 2021-12-09 19:20:58 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 (MTV 2.2.0 Images), 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/RHEA-2021:5066