Bug 1972284

Summary: Attempts to run different migration plans in the web console result in running the same migration plan
Product: Migration Toolkit for Containers Reporter: Sergio <sregidor>
Component: UIAssignee: Ian <ibolton>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: high Docs Contact: Avital Pinnick <apinnick>
Priority: high    
Version: 1.5.0CC: ernelson, rjohnson, whu, xjiang
Target Milestone: ---   
Target Release: 1.5.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-07-28 04:08:13 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 Sergio 2021-06-15 15:25:34 UTC
Description of problem:
When we have more than one migration plan ready to be executed, only one of them will be executed, no matter if we trigger the other one.

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

How reproducible:
Always

Steps to Reproduce:
1. Create 2 empty namespaces in source cluster

oc new-project test-1
oc new-project test-2

2. Create a migration plan for every namespace.

3. In the migration plan screen, click on the test-1 migplan kebab and execute the  migration plan for test-1 namespace (click on Migrate).

4. In the migration plan screen, click on the test-2 migplan kebab and execute now the other migration plan, the one for test-2 namespace (click on Migrate).

Actual results:
The result is that steps 3 and 4 triggered both the same migration plan.

Expected results:
Step 3 should trigger test-1 migplan, and step 4 should trigger test-2 migplan.

Additional info:

Comment 5 Xin jiang 2021-06-24 05:32:22 UTC
verified with MTC 1.5.0.

images:
registry.redhat.io/rhmtc/openshift-migration-ui-rhel8@sha256:3b6683508b1bec5bf90069208ab9fe7da9458792b4b7c416d08159210307f2ae

Comment 11 errata-xmlrpc 2021-07-28 04:08:13 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) image release advisory 1.5.0), 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/RHEA-2021:2929