yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #50270
[Bug 1578491] Re: The supported devs value specified in the config is not taken into consideration w.r.t PCI passthrough
Added the config-file for ml2_config_sriov in Neutron-server and restart
service . it should work .
Example for SRIOV
/usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file
/etc/neutron/plugins/ml2/ml2_conf_sriov.ini & echo $!
>/opt/stack/status/stack/q-svc.pid; fg || echo "q-svc failed to start" |
tee "/opt/stack/status/stack/q-svc.failure"
** Changed in: neutron
Status: New => Opinion
** Changed in: neutron
Assignee: (unassigned) => prabhu murthy (prabhu-m4)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1578491
Title:
The supported devs value specified in the config is not taken into
consideration w.r.t PCI passthrough
Status in neutron:
Opinion
Bug description:
The 'supported_pci_vendor_devs' specified in config is not taken into
account.
1.brought up a devstack setup
2.In the ml2_conf_sriov.ini specified the supported_pci_vendor_devs to 15b3:1007(For mellanox card PF)
.[ml2_sriov]
supported_pci_vendor_devs = 15b3:1007
3.Booted a VM with port having vnic-type=direct-physical
The port binding fails due to unsupported device vendor type.
When I manually add 15b3:1007 to
cfg.ListOpt('supported_pci_vendor_devs',
default=['15b3:1004', '8086:10ca'],
in
/opt/stack/neutron/neutron/plugins/ml2/drivers/mech_sriov/mech_driver/mech_driver.py
the binding succeds.
the PF vendor product id should be included in the
supported_pci_vendor type.
LOgs:
=====
b25ed^[[00;32m] ^[[01;35m^[[00;32mUnsupported pci_vendor 15b3:1007^[[00m ^[[00;33mfrom (pid=21609) _check_supported_pci_vendor_device /opt/stack/neutron/neutron/plugins/ml2/drivers/mech_sriov/mech_driver/mech_driver.py:186^[[00m
2016-04-25 09:48:57.819 ^[[00;32mDEBUG neutron.plugins.ml2.drivers.mech_sriov.mech_driver.mech_driver [^[[01;36mreq-354c1c85-3efb-48e1-9d98-b38faa98aa10 ^[[00;36mneutron 079673fa97634d1184fa74acefeb25ed^[[00;32m] ^[[01;35m^[[00;32mRefusing to bind due to unsupported pci_vendor device^[[00m ^[[00;33mfrom (pid=21609) bind_port /opt/stack/neutron/neutron/plugins/ml2/drivers/mech_sriov/mech_driver/mech_driver.py:110^[[00m
2016-04-25 09:48:57.820 ^[[01;31mERROR neutron.plugins.ml2.managers [^[[01;36mreq-354c1c85-3efb-48e1-9d98-b38faa98aa10 ^[[00;36mneutron 079673fa97634d1184fa74acefeb25ed^[[01;31m] ^[[01;35m^[[01;31mFailed to bind port bbef1117-1e0d-4fc8-8250-c9debf763265 on host PCIPT-Compute for vnic_type direct-physical using segments [{'segmentation_id': 1403, 'physical_network': u'physnet1', 'id': u'd45098cc-a779-42f5-ac14-06976f63ab21', 'network_type': u'vlan'}]^[[00m
2016-04-25 09:48:57.834 ^[[00;32mDEBUG neutron.plugins.ml2.db [^[[01;36mreq-354c1c85-3efb-48e1-9d98-b38faa98aa10 ^[[00;36mneutron 079673fa97634d1184fa74acefeb25ed^[[00;32m] ^[[01;35m^[[00;32mFor port bbef1117-1e0d-4fc8-8250-c9debf763265, host PCIPT-Compute, cleared binding levels^[[00m ^[[00;33mfrom (pid=21609) clear_binding_levels /opt/stack/neutron/neutron/plugins/ml2/db.py:118^[[00m
2016-04-25 09:48:57.835 ^[[00;32mDEBUG neutron.plugins.ml2.db [^[[01;36mreq-354c1c85-3efb-48e1-9d98-b38faa98aa10 ^[[00;36mneutron 079673fa97634d1184fa74acefeb25ed^[[00;32m] ^[[01;35m^[[00;32mAttempted to set empty binding levels^[[00m ^[[00;33mfrom (pid=21609) set_binding_levels /opt/stack/neutron/neutron/plugins/ml2/db.py:93^[[00m
2016-04-25 09:48:57.855 ^[[00;32mDEBUG neutron.plugins.ml2.plugin [^[[01;36mreq-354c1c85-3efb-48e1-9d98-b38faa98aa10 ^[[00;36mneutron 079673fa97634d1184fa74acefeb25ed^[[00;32m] ^[[01;35m^[[00;32mIn _notify_port_updated(), no bound segment for port bbef1117-1e0d-4fc8-8250-c9debf763265 on network bed4c0bc-8e2f-4fc4-bc65-8e01120a1d40^[[00m ^[[00;33mfrom (pid=21609) _notify_port_updated /opt/stack/neutron/neutron/plugins/ml2/plugin.py:596^[[00m
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1578491/+subscriptions
References