Bug 1870034

Summary: [Test-Only] Migrate to OVN for SR-IOV this SR-IOV scenario
Product: Red Hat OpenStack Reporter: Eran Kuris <ekuris>
Component: python-networking-ovnAssignee: Eran Kuris <ekuris>
Status: CLOSED ERRATA QA Contact: Roman Safronov <rsafrono>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: apevec, jamsmith, jlibosva, lhh, majopela, scohen, uemit.seren
Target Milestone: z2Keywords: TestOnly, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-28 15:39:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eran Kuris 2020-08-19 08:40:46 UTC
Description of problem:
we need to cover the scenario test on migration sriov from ml2ovs to ovn based on this deployment : 

[New Test] SR-IOV from OSP 13 to OSP 16 with single VM with 2 interfaces
1.VM1 has SR-IOV VF with VLAN provider networks and L2 agent for DHCP services ( nor routing)
2.VM1 has OVS with VLAN provider networks and L2 Agent for DHCP/metadata services (no routing)
3.Migrate to OVN for SR-IOV this SR-IOV scenario
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Roman Safronov 2020-09-22 13:22:11 UTC
Migration to ML2OVN on SRIOV environment tested on RHOS-16.1-RHEL-8-20200903.n.0 and worked using the following guidelines(in addition to usual OVN migration instructions from the official documentation):

1. Add OS::TripleO::Services::OVNMetadataAgent to Controller role.
2. Copy overcloud_deploy.sh to overcloud-deploy-ovn.sh
3. Delete ML2OVS-specific templates from overcloud-deploy-ovn.sh
4. Add the following OVN-specific templates to the end of the overcloud deploy command:

-e /usr/share/openstack-tripleo-heat-templates/environments/services/neutron-ovn-ha.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/services/neutron-ovn-sriov.yaml \
-e /home/stack/ovn-extras.yaml


Tested with workload using normal and direct (vf) ports. With direct-physical (PF port) we are blocked with this issue: Bug 1879546 - [OSP16.1]Migration from ML2OVS to ML2OVN fails in case some SRIOV PF/VF ports are in use

Comment 14 errata-xmlrpc 2020-10-28 15:39:08 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 (Red Hat OpenStack Platform 16.1 bug fix and enhancement 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:4284