Bug 2099856

Summary: MTC: 1.7.1 on OCP 4.6: UI is stuck in "Discovering persistent volumes attached to source projects" step
Product: Migration Toolkit for Containers Reporter: Laurent TOURREAU <laurent.tourreau>
Component: UIAssignee: Ian <ibolton>
Status: CLOSED ERRATA QA Contact: mohamed <midays>
Severity: urgent Docs Contact: Richard Hoch <rhoch>
Priority: urgent    
Version: 1.7.1CC: ernelson, midays, rjohnson, ssingla
Target Milestone: ---   
Target Release: 1.7.2   
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-08-02 07:45:55 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:
Attachments:
Description Flags
MTC must-gather
none
Screenshot of step 3
none
Firefox har file with network traffic monitoring after clicking on Next button on namespace selection step none

Description Laurent TOURREAU 2022-06-21 20:35:20 UTC
Created attachment 1891739 [details]
MTC must-gather

Created attachment 1891739 [details]
MTC must-gather

Description of problem:

We want to migrate a gp2 storage class PV to gp2-csi.
We have installed MTC 1.7.1 in our OCP 4.6 cluster for this purpose.






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

How reproducible:


Steps to Reproduce:
1.Install MTC 1.7.1 operator on OCP 4.6.19
2.Create the MigrationController
3.MTC configuration:
- 1 cluster (host) having MTC 1.7.1 installed and running the Migration Controller
- No replication repositories set
4.Migration plan is configured like this:
- Name: csmigration
- Migration type: Storage class conversion - converts PVs to a different storage class within the same cluster and namespace
- Source cluster: host
- Namespace: evs (13 pods, 7 PVC, 15 Services)

Actual results:
When clicking on Next after selecting the namespace, the wizard is stuck during the PV discovery displaying the "Discovering persistent volumes attached to source projects..." message.
Neither MigPlan not MigAnalytics are generated

Expected results:
We should get the list of PVC for the selected evs namespace displayed in step 3.


Additional info:
Here the controller pod log:
2022-06-20T17:53:30.119678910Z {"level":"info","ts":1655747610.1196477,"logger":"analytics","msg":"CR","migAnalytic":"plan1","conditions":{"conditions":[{"type":"InvalidPlanRef","status":"True","reason":"NotFound","category":"Critical","message":"The referenced plan does not exist.","lastTransitionTime":"2022-06-20T14:43:20Z"}]}}
2022-06-20T17:53:36.572638290Z {"level":"info","ts":1655747616.5725887,"logger":"analytics","msg":"CR","migAnalytic":"csmigration","conditions":{"conditions":[{"type":"InvalidPlanRef","status":"True","reason":"NotFound","category":"Critical","message":"The referenced plan does not exist.","lastTransitionTime":"2022-06-20T17:46:45Z"}]}}
2022-06-20T17:53:40.122285088Z {"level":"info","ts":1655747620.1222382,"logger":"analytics","msg":"CR","migAnalytic":"lolo","conditions":{"conditions":[{"type":"InvalidPlanRef","status":"True","reason":"NotFound","category":"Critical","message":"The referenced plan does not exist.","lastTransitionTime":"2022-06-20T15:02:37Z"}]}}
2022-06-20T17:53:40.125062775Z {"level":"info","ts":1655747620.125022,"logger":"analytics","msg":"CR","migAnalytic":"ibmcs","conditions":{"conditions":[{"type":"InvalidPlanRef","status":"True","reason":"NotFound","category":"Critical","message":"The referenced plan does not exist.","lastTransitionTime":"2022-06-20T14:31:45Z"}]}}

Comment 1 Laurent TOURREAU 2022-06-21 20:36:11 UTC
Created attachment 1891740 [details]
Screenshot of step 3

Comment 2 Laurent TOURREAU 2022-06-21 21:12:30 UTC
Created attachment 1891757 [details]
Firefox har file with network traffic monitoring after clicking on Next button on namespace selection step

Comment 3 Erik Nelson 2022-06-24 13:50:32 UTC
Thank you for the report. We intend to have this fixed with MTC 1.7.2, releasing next week (week of 6/27).

Related: https://bugzilla.redhat.com/show_bug.cgi?id=2100486
PR: https://github.com/konveyor/mig-ui/pull/1457

Comment 4 Ian 2022-06-24 14:39:46 UTC
Unable to reproduce this morning. I believe that between https://github.com/konveyor/mig-ui/pull/1452 and https://github.com/konveyor/mig-ui/pull/1457, this should now be fixed.

Comment 11 errata-xmlrpc 2022-08-02 07:45:55 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 (Moderate: Migration Toolkit for Containers (MTC) 1.7.3 security and bug fix update), 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/RHSA-2022:5840