Bug 2049576 - After a cancelled Rollback, “Rollback” option gets disabled
Summary: After a cancelled Rollback, “Rollback” option gets disabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: UI
Version: 1.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 1.7.0
Assignee: Jaydip Gabani
QA Contact: Xin jiang
Steve Goodman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-02 12:02 UTC by ssingla
Modified: 2022-03-24 06:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-24 06:32:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-ui pull 1387 0 None open Bug 2049576: making sure cancelled rollback behaves as epected 2022-02-15 15:04:58 UTC
Red Hat Product Errata RHBA-2022:1043 0 None None None 2022-03-24 06:32:59 UTC

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


Note You need to log in before you can comment on or make changes to this bug.