Bug 1458833

Summary: Switch to using pseudo-agent port binding in networking-odl deployment
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: openstack-tripleo-heat-templatesAssignee: Tim Rozet <trozet>
Status: CLOSED ERRATA QA Contact: Itzik Brown <itbrown>
Severity: high Docs Contact:
Priority: high    
Version: 11.0 (Ocata)CC: lpeer, mburns, mkolesni, nyechiel, rhel-osp-director-maint, trozet
Target Milestone: betaKeywords: AutomationBlocker, Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-7.0.0-0.20170805163045.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
N/A
Last Closed: 2017-12-13 21:31:55 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:
Bug Depends On: 1467854    
Bug Blocks:    

Description Itzik Brown 2017-06-05 15:05:29 UTC
Description of problem:
If the opendaylight_v2 mechanism driver is listed before sriovnicswitch, the instance will spin up and be attached to a tap port, which is not correct.

Version-Release number of selected component (if applicable):
python-networking-odl-4.0.0-1.el7ost.noarch

How reproducible:


Steps to Reproduce:
1. In /etc/neutron/plugins/ml2/ml2_conf.ini make sure you have the line mechanism_drivers=opendaylight_v2,sriovnicswitch
2. Create a port with vnci-type=direct
   # neutron port-create --name port1 --vnic-type direct <network>
3. Launch the instance 
   # nova boot --flavor m1.small --image rhel --nic port-id=<port id> vm1
4. Using console verify that the interface of the instance is virtio_net
   # ethtool -i eth0

Actual results:


Expected results:


Additional info:

Comment 1 Mike Kolesnik 2017-07-05 12:08:35 UTC
The solution is to switch to using the pseudo-agent port binding when deploying networking-odl.

I'm reassigning the bug and adding a link to the upstream bug on the same issue.

Comment 2 Nir Yechiel 2017-07-23 09:31:06 UTC
Are they any patches for this one?

Comment 3 Nir Yechiel 2017-08-04 06:54:26 UTC
Merged upstream.

Comment 5 Itzik Brown 2017-08-31 13:44:42 UTC
Verified with:
openstack-tripleo-heat-templates-7.0.0-0.20170805163048.el7ost.noarch

Comment 8 errata-xmlrpc 2017-12-13 21:31:55 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, 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-2017:3462