Bug 2000875

Summary: State migration status on "Migrations" page displays "Stage succeeded" message
Product: Migration Toolkit for Containers Reporter: Xin jiang <xjiang>
Component: UIAssignee: Ian <ibolton>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: low Docs Contact: Avital Pinnick <apinnick>
Priority: urgent    
Version: 1.6.0CC: ernelson, prajoshi, rjohnson, sregidor, ssingla
Target Milestone: ---   
Target Release: 1.6.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-09-29 14:35:53 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 Xin jiang 2021-09-03 09:10:10 UTC
Description of problem:
While I executed State operation, it Last state  shows Stage succeeded

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

How reproducible:
Always


Steps to Reproduce:
 when I trigger a State operation on UI, its "Last state"  shows "Stage succeeded".  this can be confusing

Actual results:
State operation always shows Stage message.

Expected results:
I expected it shows State instead of Stage.

Additional info:
Ian Bolton  1 day ago
@xjiang This is because the state migration is using the stage itinerary. I checked with @pgaikwad and he mentioned this was acceptable. We may want to circle back around on this to see if improvements can be made @vconzola
:thx:
1


Vince Conzola:speech_balloon:  1 day ago
@xjiang I agree this can be confusing. @ibolton can the ui display a different message if we know a State migration was run? i realize State uses the Stage itinerary so we’d need to add some logic in the ui.
:+1:
1


Ian Bolton  1 day ago
I think there is some info we can key off of in the UI to show that it was a state migration. Although there are several messages we are simply printing from the backend that also use the stage text so this could get confusing.

Comment 1 Erik Nelson 2021-09-07 15:52:30 UTC
I think this is an important change to make prior to 1.6.0 release.

Comment 6 Xin jiang 2021-09-14 04:41:27 UTC
verified with MTC 1.6.0

registry.redhat.io/rhmtc/openshift-migration-ui-rhel8@sha256:ac56919a13dd6bbf36ce7a5dfc7696d3dfebe6c9438da64b3bcd1d70b33c549c

Comment 8 errata-xmlrpc 2021-09-29 14:35:53 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: Migration Toolkit for Containers (MTC) 1.6.0 security & bugfix 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-2021:3694