Bug 2049576

Summary: After a cancelled Rollback, “Rollback” option gets disabled
Product: Migration Toolkit for Containers Reporter: ssingla
Component: UIAssignee: Jaydip Gabani <jgabani>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: medium Docs Contact: Steve Goodman <sgoodman>
Priority: medium    
Version: 1.7.0CC: ernelson, prajoshi, rjohnson
Target Milestone: ---   
Target Release: 1.7.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: 2022-03-24 06:32:50 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 ssingla 2022-02-02 12:02:54 UTC
Description of the problem: 
If we cancel a rollback, the migplan moves to the Canceled Rollback state but “Rollback” option gets disabled for the migration plan.

Severity: Medium


Version-Release number of selected component (if applicable):
SOURCE CLUSTER: AWS 4.6 MTC 1.7.0
TARGET CLUSTER:  AWS 4.9 MTC 1.7.0



How reproducible: Always


Steps to Reproduce:  
1.  Deploy any application in the source cluster


2. Login to the MTC console and Create a migplan and select migration type as Full migration.
3. Execute cutover 


4. Execute Rollback and cancel it before it finishes.

5. Open the Kebab menu besides the migplan status

Actual Result: “Rollback” is disabled and “Stage” & “Cutover” are enabled.
Expected Result: “Rollback” option should be enabled and “Stage” & “Cutover” should be disabled as rollback was cancelled.

Comment 5 Prasad Joshi 2022-02-22 15:58:34 UTC
Verified with MTC 1.7.0 (pre-stage)

metadata_nvr: openshift-migration-operator-metadata-container-v1.7.0-33

image: registry.redhat.io/rhmtc/openshift-migration-controller-rhel8@sha256:c08211e7fa12e8a12ea07ed0f31bf24bdd4cc95b166a34d826e3240a0534e622

After cancelling the rollback, the rollback option is getting enabled. stage and cutover options are disabled.

Moving this to Verified status.

Comment 7 errata-xmlrpc 2022-03-24 06:32:50 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) 1.7.0 release advisory), 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-2022:1043