Created attachment 1702238 [details] Bridge network connection type is available Description of problem:User can select "bridged" network type for NIC bound to pod network, as result outside network will not be reachable from VM Version-Release number of selected component (if applicable): 2.4.0 How reproducible: 100% Steps to Reproduce: 1. Run migration wizard 2. Go to NIC section and check UI Actual results: For the POD network only masquerading network type should be available Expected results: Additional info:
> I believe we would have to implement a filter in the UI for this which will not make 2.4. Indeed. And we have implemented the filter for OCP 4.6 (e.g. CNV 2.5): https://github.com/openshift/console/pull/5637 So I would propose to move this under the UI and move it to on_qa. Agree?
(In reply to Tomas Jelinek from comment #4) > > I believe we would have to implement a filter in the UI for this which will not make 2.4. > > Indeed. And we have implemented the filter for OCP 4.6 (e.g. CNV 2.5): > https://github.com/openshift/console/pull/5637 > So I would propose to move this under the UI and move it to on_qa. Agree? +1. Moved over. Thanks!
I think this should be documented, or there is a chance that user will face issue with not working network inside his VM. Currently this is documented on the level of OCP, but this is never mentioned on the level of CNV or migration to CNV. I think we should add pointer to respective document somewhere in migration flow description
@Avital, Would you please address the doc text for OCP-4.5/CNV-2.4 @Tomas, If this is fixed in 4.6, then need target it to 4.6 and not 4.5. Also does https://github.com/openshift/console/pull/5637 addresses: "When connecting to POD network, only masquerading should be used, when to Multus network - only bridge." ? Thanks.
(In reply to Ilanit Stein from comment #8) > @Tomas, > If this is fixed in 4.6, then need target it to 4.6 and not 4.5. indeed, moved > > Also does https://github.com/openshift/console/pull/5637 addresses: > "When connecting to POD network, only masquerading should be used, when to > Multus network - only bridge." ? for pod pod network only masquerade is allowed, for multus one it is bridge and sriov which IIUC is correct. @Petr please keep me honest here > > Thanks.
> for pod pod network only masquerade is allowed, for multus one it is bridge and sriov which IIUC is correct. > @Petr please keep me honest here That's correct. Ideally we would show "sriov" only when the selected network is an "sriov" network, but that is for another BZ.
Doc looks fine
This is the UI bug for picking SRIOV only: Bug 1862918 - [v2v] User should only select SRIOV network when importing vm with SRIOV network
@Avital, I see was added to the doc: 'You must select the `masquerade` binding method" Does it come along with POD network?
(In reply to Ilanit Stein from comment #14) > @Avital, > > I see was added to the doc: > 'You must select the `masquerade` binding method" > > Does it come along with POD network? That seems to be what Petr says in https://bugzilla.redhat.com/show_bug.cgi?id=1860002#c11 and Tomas, in https://bugzilla.redhat.com/show_bug.cgi?id=1860002#c10
Documentation updated for CNV 2.5 (OCP 4.6) only, since this will be fixed in 4.6.
Verified this bug on CNV 2.5, one can select only proper network type for the NIC
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 (OpenShift Container Platform 4.6 GA 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/RHBA-2020:4196