Bug 2055618 - [MTC UI] Rollback option enabled in a new migration plan before performing any migration
Summary: [MTC UI] Rollback option enabled in a new migration plan before performing an...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: UI
Version: 1.6.3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
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-17 11:34 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
Red Hat Product Errata RHBA-2022:1043 0 None None None 2022-03-24 06:32:59 UTC

Description ssingla 2022-02-17 11:34:39 UTC
Description of the problem: When we create a new migration plan, the Rollback option is already active for the plan even before performing any stage/cutover/state migration

Severity: Low

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

Steps to Reproduce: 
1. Create a project in source cluster 
$ oc new-project test
2. Deploy an application in source cluster (Optional)
$ oc new-app cakephp-mysql-persistent
3. Create a migplan from UI using the project
4. Click on migplan’s Kebab menu after Migplan is ready.


Actual Result:  Rollback option is enabled even before any stage/cutover/state migration is performed.

Expected Result: Rollback option should not be enabled there as no migration has been performed yet.

Comment 1 Erik Nelson 2022-02-21 13:47:34 UTC
Is this unique to GCP migrations, or does this always happen regardless of the underlying platforms?

Comment 2 ssingla 2022-02-21 14:44:02 UTC
Not specific to GCP, Always happens under any platforms.

Comment 3 Jaydip Gabani 2022-02-22 18:29:11 UTC
https://github.com/konveyor/mig-ui/pull/1368 - PR brings changes that resolves this bug

Comment 9 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.