Description of problem: https://github.com/konveyor/mig-controller/issues/835 mig-ui is showing a validation failure related to direct migration selections before the user has a chance to select their direct migration settings. Version-Release number of selected component (if applicable): 1.4.0, latest mig-ui How reproducible: Always, in my experience. Steps to Reproduce: 1. Select namespaces to migrate in mig-ui 2. Proceed to PV discovery step 3. UI will raise error condition warning "Direct image migration is selected and the source cluster openshift-migration/cluster-3 is missing a configured Registry Path" 4. Strangely, the issue seems to be resolved eventually. I checked the spec of the migplan and saw this: My thought is that the initial migplan created by mig-ui is missing the indirectImageMigration and indirectVolumeMigration settings so the migplan is defaulting to use direct migration. Expected results: The migration UI should not throw an error during PV discovery when the user hasn't even had a chance to select indirect/direct migration yet. This could be solved on controller side by flipping the default and renaming the directImageMigration vars, or it could be fixed in mig-ui by making sure the first version of a migplan that is created has indirectImageMigration and indirectVolumeMigration both set to true.
I have this set as a controller bug but it could be solved in either mig-controller or mig-ui.
Switching to mig-ui issue. https://github.com/konveyor/mig-ui/issues/1079
Addressed with PR https://github.com/konveyor/mig-ui/pull/1080 - pending review and merge
*** Bug 1906340 has been marked as a duplicate of this bug. ***
verified. "registry.redhat.io/rhmtc/openshift-migration-rhel7-operator@sha256:61de8be7e30fb15b278aeececb0de8ac5ecaeb221a312ab1140e6c925ab0e217", registry.redhat.io/rhmtc/openshift-migration-ui-rhel8@sha256:be417d9a34e4f046bbc9fa4150e6355a6ea4ff61a3c6ec8d2bf3597a76fbacd0
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) tool image release advisory 1.4.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/RHBA-2020:5329