Description of problem: When we try to create a migration plan for an empty namespace, when we reach the step 5 "Migration options" the browser shows a blank screen and we cannot continue. Version-Release number of selected component (if applicable): MTC 1.4.0 How reproducible: Always Steps to Reproduce: 1. Create an empty namespace in the source cluster $ oc new-project empty-project 2. Create a migration plan for this project Actual results: When we reach the step 5 "Migration options", the browser shows a blank screen, and in the console we can see this error: TypeError: Cannot read property 'filter' of undefined at t.default (app.bundle.js:130) at fi (app.bundle.js:98) at Oc (app.bundle.js:98) at gl (app.bundle.js:98) at ul (app.bundle.js:98) at rl (app.bundle.js:98) at app.bundle.js:98 at t.unstable_runWithPriority (app.bundle.js:106) at Ga (app.bundle.js:98) at $a (app.bundle.js:98) Expected results: We should be able to create the migration plan without errors. Additional info:
PR open pending review and merge https://github.com/konveyor/mig-ui/pull/1081
Verified using MTC 1.4.0 openshift-migration-rhel7-operator@sha256:61de8be7e30fb15b278aeececb0de8ac5ecaeb221a312ab1140e6c925ab0e217 - name: MIG_UI_REPO value: openshift-migration-ui-rhel8@sha256 - name: MIG_UI_TAG value: be417d9a34e4f046bbc9fa4150e6355a6ea4ff61a3c6ec8d2bf3597a76fbacd0 Migration plans for empty namespaces can be created without problems from the UI. Moved to VERIFIED status.
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