Bug 1818021 - Migration UI fails to perform PV discovery when controller + UI are running on a 3.x cluster
Summary: Migration UI fails to perform PV discovery when controller + UI are running o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Migration Tooling
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.4.0
Assignee: Ian
QA Contact: Xin jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-27 13:09 UTC by Erik Nelson
Modified: 2023-09-07 22:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-28 11:09:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:2326 0 None None None 2020-05-28 11:10:21 UTC

Description Erik Nelson 2020-03-27 13:09:29 UTC
When running the CAM controller + UI on a 3.x cluster, the PV discovery step of the wizard after selecting the namespaces will hang while trying to load and never report the results.

We've diagnosed this issue and the core problem is that the metadata.generation field, which the UI watches for its stop condition, fails to increment when expected. Fundamentally, CRDs did not support this field until roughly 1.11 timeframe, so CAM needs to shift to using a solution that is version agnostic to the underlying cluster.

To be clear: this is a change that needs to happen in both the UI and the controller, and they'll need to coordinate to use the same strategy.

Comment 1 Erik Nelson 2020-04-28 15:07:20 UTC
https://github.com/konveyor/mig-ui/pull/842

Comment 5 Sergio 2020-05-13 11:39:53 UTC
Verified using CAM 1.2 stage

3.9 (controller) -> 4.3

openshift-migration-rhel7-operator@sha256:6afd508558cdbfdfa05b46d0d02c46af59404a1f2bfd09c3272bbcf41900996d

Migrations could be executed without errors, with and without PVCs. There was no problem regarding PVC discovering either.

Comment 7 errata-xmlrpc 2020-05-28 11:09:56 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, 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-2020:2326


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