Bug 1918504

Summary: MigAnalytic fails to reconcile and discover source cluster resources, all reported as 0
Product: Migration Toolkit for Containers Reporter: Erik Nelson <ernelson>
Component: GeneralAssignee: Jason Montleon <jmontleo>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Xin jiang <xjiang>
Severity: unspecified Docs Contact: Avital Pinnick <apinnick>
Priority: unspecified    
Version: 1.4.0CC: chezhang, ernelson, jmontleo, sregidor, whu
Target Milestone: ---   
Target Release: 1.4.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: 2021-03-03 20:09:34 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
21-01-25 1.4.0 test none

Description Erik Nelson 2021-01-20 21:44:04 UTC
Description of problem:

During a call with a user, we observed the following:

Navigated to the Namespace screen from the plan list link to try to gauge what was going to be part of the migration (pv count/k8s obj/image num) and the page was stuck with an infinite spinner. We navigated to the CLI and found the MigAnalytic as expected, but it was in a “Ready” state with “0” reporting for all of its fields and an observedGeneration of 3. We flipped “spec.analyImages” (I don’t recall the exact field name) to false since user did not care about their ImageStreams with the expectation that this would force a controller reconcile and we should see the observedGeneration tick up. It remained at three with no change to the counts.


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

How reproducible:
Unsure, user environment was relatively destabalized at the time, it's possible this was a consequence of that.


Actual results:
All the discovered content related to the plan that the MigAnalytic reported as zero. UI was stuck at loading spinner.

Expected results:
Controller should have reconciled the contents and had the correct counts on the MigAnalytic CR.

Comment 1 Jason Montleon 2021-01-25 19:41:54 UTC
Created attachment 1750700 [details]
21-01-25 1.4.0 test

This is a quick test run on a cluster set up within, I believe, the last 24 hours and it appears to show expected results.

Comment 2 Jason Montleon 2021-01-25 19:42:42 UTC
If I can get more detail on a reliable reproducer I can dig further.

Comment 3 Erik Nelson 2021-01-27 18:13:50 UTC
We have an opportunity to get this into the 1.4.0 release. As of now, it appears it's not consistently reproducible but we'd like to understand the root cause and evaluate if it's tractable within the timeframe we have for 1.4.0 on 02/10.

Comment 4 Erik Nelson 2021-03-03 20:09:34 UTC
Closing this as it is unclear at this point how to reproduce, and we have been unable to gather more info. Please re-open if the issue persists.