Bug 1402318

Summary: Refusing to bind due to unsupported vnic_type: direct when starting SRIOV instance
Product: Red Hat OpenStack Reporter: Chen <cchen>
Component: openstack-neutronAssignee: Assaf Muller <amuller>
Status: CLOSED NOTABUG QA Contact: Toni Freger <tfreger>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 9.0 (Mitaka)CC: amuller, beagles, cchen, chrisw, mschuppe, nyechiel, rcernin, srevivo
Target Milestone: async   
Target Release: 9.0 (Mitaka)   
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: 2017-01-16 18:50:12 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:

Description Chen 2016-12-07 09:07:20 UTC
Description of problem:

Instance failed to boot because sriov nic bind failed

10937 2016-12-07 07:32:20.955 29343 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-65df65d6-562f-4b25-bbf0-af1a8c8281bd 2ad697ec098b4f87a022917      1321d105c 041d997e145f4cfcb14a47d1540022f0 - - -] Refusing to bind due to unsupported vnic_type: direct bind_port /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:65

Version-Release number of selected component (if applicable):

OSP9

How reproducible:

100%

Steps to Reproduce:
1.
2.
3.

Actual results:

The instance can not boot

Expected results:

The instance should be able to boot

Additional info:

Comment 3 Assaf Muller 2016-12-07 14:03:31 UTC
Looks like a configuration mismatch. We'll need an SOS report of all controllers and the compute node the port binding was attempted against. Please make sure DEBUG logs are on with entries that demonstrate the issue.