Bug 2001466

Summary: [MTC-UI] Rollback cancel should display final state as "Rollback cancelled"
Product: Migration Toolkit for Containers Reporter: Prasad Joshi <prajoshi>
Component: UIAssignee: Jaydip Gabani <jgabani>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: low Docs Contact: Avital Pinnick <apinnick>
Priority: low    
Version: 1.6.0CC: ernelson, prajoshi, rjohnson, sgoodman, sregidor, ssingla, xjiang
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:26 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 Prasad Joshi 2021-09-06 07:34:06 UTC
Description of problem: When a rollback operation is canceled, UI should display last state as “ Rollback Cancelled”

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


How reproducible:
Always


Steps to Reproduce:
1.In source cluster create django application

$ oc new-project ocp-40299-cancelrollback

$ oc new-app django-psql-persistent

2. Go to the MTC UI and create a migration plan for this namespace.

3. Migrate the namespace

4. Rollback the migration. While Rollback operation is running, Cancel it.

Actual results: UI is showing last state as “Cancelling rollback”

Expected results: When we cancel rollback UI should show last state as “Rollback cancelled” 

Additional info:

Comment 1 Jaydip Gabani 2022-02-02 21:20:44 UTC
This https://github.com/konveyor/mig-controller/pull/1260 - fixes the raised bug and this change has been carried over to release - 1.7.0. This issue is related to https://bugzilla.redhat.com/show_bug.cgi?id=2044973

Comment 2 Jaydip Gabani 2022-02-02 21:25:44 UTC
Here is the commit that verifies the code has been pushed to release-1.7.0

Comment 3 Jaydip Gabani 2022-02-02 21:26:40 UTC
Here is the commit that verifies the code has been pushed to release-1.7.0 - https://github.com/konveyor/mig-controller/commit/d7bcd50b706499ce3d2642ac571f5f1b05ca6146

Comment 9 errata-xmlrpc 2022-03-24 06:32:26 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