Description of problem: Have OCP cluster that has 2 networks: Pod and ovn-kubernetes1(multus). The ovn-kubernetes1 network was added within "default" namespace. Define a default migration network for the "host" OpenShift Virtualization provider as ovn-kubernetes1. In the migration plan creation dialog, after picking default namespace, the selected Openshift network displayed is POD, _though_ ovn-kubernetes1 was defined. It is possible to select from the networks list ovn-kubernetes1. This contradicts the help message besides the network: "The default migration network defined for the OpenShift Virtualization provider is used if it exists in the target namespace. Otherwise, the pod network is used. You can select a different network for this migration plan." Version-Release number of selected component (if applicable): MTV-2.0.0-20 Expected results: Openshit network should be as defined for the Openshift provider.
Created attachment 1774583 [details] network help message
Created attachment 1774584 [details] networks list
Created attachment 1774585 [details] Openshift cluster defined network
@istein, this is working as intended in my dev environment. Something must be different in your cluster. Do you have login details you can share?
Found the cause, the inventory API data doesn't quite match up with what my code assumed (it is missing the `metadata.annotations` property on providers). Not sure if it broke because of backend changes or if I missed it in testing. This PR changes the code to load the full CR for this lookup, which fixes the bug: https://github.com/konveyor/forklift-ui/pull/557
The fix should be part of build mtv-operator-bundle-container-2.0.0-4 / iib:72115.
Verified on mtv-operator-bundle-container-2.0.0-4
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 (MTV 2.0.0 images), 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-2021:2381