Re: [openstack-dev] SRIOV-port refused to bind
Hi Lenny, Thank you for your response. I am able to resolve the issue. My sriov-agent is not able to read the vf's There is some config misssmatch in agent config. Thanks -Murali On Tue, Oct 4, 2016 at 10:42 PM, Lenny Verkhovsky <len...@mellanox.com> wrote: > Hi Murali, > > > > Try adding filters to nova.conf > > scheduler_available_filters=nova.scheduler.filters.all_filters > > scheduler_default_filters = RetryFilter, AvailabilityZoneFilter, > RamFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter, > PciPassthroughFilter > > > > is it possible to upload all neutron and nova logs and neutron and nova > config files? > > > > Here[1] you can see local.conf from Mellanox CI as an example > > > > [1] http://13.69.151.247/26/382126/1/check-nova/Nova-ML2- > Sriov/b835c17/local.conf.gz > > > > *From:* Murali B [mailto:mbi...@gmail.com] > *Sent:* Thursday, September 29, 2016 10:46 PM > *To:* Lenny Verkhovsky <len...@mellanox.com>; OpenStack Development > Mailing List (not for usage questions) <openstack-dev@lists.openstack.org> > *Subject:* Re: [openstack-dev] SRIOV-port refused to bind > > > > Hi Lenny Verkhovsky, > > > > Thank you for your response. > > > > I am using the Mitaka version of openstack. I followed the > https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking and set > the "intel_iommu=on". > > > > Here is the output for the VF's config > > > > root@A1-22932-compute1:~# cat /proc/cmdline > > BOOT_IMAGE=/vmlinuz-4.2.0-42-generic > root=UUID=ff1b5507-414f-4c96-9fbe-cc3c02c682fc > ro intel_iommu=on igbe.max_vfs=2 pci=assign-busses quiet splash vt.handoff=7 > > > > root@A1-22932-compute1:~# lspci | grep Ether > > 03:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network > Connection (rev 01) > > 03:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network > Connection (rev 01) > > 04:10.0 Ethernet controller: Intel Corporation 82576 Virtual Function (rev > 01) > > 04:10.1 Ethernet controller: Intel Corporation 82576 Virtual Function (rev > 01) > > 04:10.2 Ethernet controller: Intel Corporation 82576 Virtual Function (rev > 01) > > 04:10.3 Ethernet controller: Intel Corporation 82576 Virtual Function (rev > 01) > > 08:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network > Connection > > 09:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network > Connection > > > > root@A1-22932-compute1:~# ls /sys/bus/pci/devices/\:04\:10.0/net/ > > eth1 > > > > > > Please find the config here http://pastebin.com/Tfaez4Je > > > > here are the logs on controller http://pastebin.com/e3s1LaMw > > > > here is the nova-compute log http://pastebin.com/qRzG6Tif > > > > Thanks > > -Murali > > > > > > > > > > > __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] SRIOV-port refused to bind
Hi Murali, Try adding filters to nova.conf scheduler_available_filters=nova.scheduler.filters.all_filters scheduler_default_filters = RetryFilter, AvailabilityZoneFilter, RamFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter, PciPassthroughFilter is it possible to upload all neutron and nova logs and neutron and nova config files? Here[1] you can see local.conf from Mellanox CI as an example [1] http://13.69.151.247/26/382126/1/check-nova/Nova-ML2-Sriov/b835c17/local.conf.gz From: Murali B [mailto:mbi...@gmail.com] Sent: Thursday, September 29, 2016 10:46 PM To: Lenny Verkhovsky <len...@mellanox.com>; OpenStack Development Mailing List (not for usage questions) <openstack-dev@lists.openstack.org> Subject: Re: [openstack-dev] SRIOV-port refused to bind Hi Lenny Verkhovsky, Thank you for your response. I am using the Mitaka version of openstack. I followed the https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking and set the "intel_iommu=on". Here is the output for the VF's config root@A1-22932-compute1:~# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-4.2.0-42-generic root=UUID=ff1b5507-414f-4c96-9fbe-cc3c02c682fc ro intel_iommu=on igbe.max_vfs=2 pci=assign-busses quiet splash vt.handoff=7 root@A1-22932-compute1:~# lspci | grep Ether 03:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) 03:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) 04:10.0 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01) 04:10.1 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01) 04:10.2 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01) 04:10.3 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01) 08:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 09:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection root@A1-22932-compute1:~# ls /sys/bus/pci/devices/\:04\:10.0/net/ eth1 Please find the config here http://pastebin.com/Tfaez4Je here are the logs on controller http://pastebin.com/e3s1LaMw here is the nova-compute log http://pastebin.com/qRzG6Tif Thanks -Murali __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] SRIOV-port refused to bind
Hi Lenny Verkhovsky, Thank you for your response. I am using the Mitaka version of openstack. I followed the https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking and set the "intel_iommu=on". Here is the output for the VF's config root@A1-22932-compute1:~# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-4.2.0-42-generic root=UUID=ff1b5507-414f-4c96-9fbe-cc3c02c682fc ro intel_iommu=on igbe.max_vfs=2 pci=assign-busses quiet splash vt.handoff=7 root@A1-22932-compute1:~# lspci | grep Ether 03:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) 03:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) 04:10.0 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01) 04:10.1 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01) 04:10.2 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01) 04:10.3 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01) 08:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 09:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection root@A1-22932-compute1:~# ls /sys/bus/pci/devices/\:04\:10.0/net/ eth1 Please find the config here http://pastebin.com/Tfaez4Je here are the logs on controller http://pastebin.com/e3s1LaMw here is the nova-compute log http://pastebin.com/qRzG6Tif Thanks -Murali __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] SRIOV-port refused to bind
Murali, I have seen this binding error once when I failed to configure the SRIOV agent. Please check the agent settings as per the link below that Lenny sent. Thanks Prasanth - Original Message - From: "Lenny Verkhovsky" <len...@mellanox.com> To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org> Sent: Thursday, September 29, 2016 3:07:28 AM Subject: Re: [openstack-dev] SRIOV-port refused to bind HI, Did you configured everything according to https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking ? ( including intel_iommu=on ) ? Can you attach more logs and config files of the nova/neutron/neutron plugins Are you working with devstack or distro? From: Murali B [mailto:mbi...@gmail.com] Sent: Thursday, September 29, 2016 5:52 AM To: OpenStack Development Mailing List (not for usage questions) <openstack-dev@lists.openstack.org> Subject: [openstack-dev] SRIOV-port refused to bind Hi I am using the SRIOV on mitaka. When I try to launch the VM with SRIOV port its failed. When I see the neutrn-server.log I see that below message on controller. ddf81 - - -] Refusing to bind due to unsupported vnic_type: direct bind_port /usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mech_agent.py:65 2016-09-28 18:55:18.384 16531 ERROR neutron.plugins.ml2.managers [req-443e9b6a-45c6-4b30-aa50-52a9b0a4926c 7d0ef58dd1214f54983c9d843fec0bde 238c9900a2ae4b57b01fa72abdeddf81 - - -] Failed to bind port e96eadf3-5501-442a-8bcc-0b4d64617b26 on host A1-22932-compute1 for vnic_type direct using segments [{'segmentation_id': 123, 'physical_network': u'physnet1', 'id': u'30b77081-d02c-4e29-a41a-f8997c1f9f66', 'network_type': u'vlan'}] On compute node I see the below error. 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] flavor, virt_type, self._host) 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 447, in get_config 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] _("Unexpected vif_type=%s") % vif_type) 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] NovaException: Unexpected vif_type=binding_failed Could somebody help me to come-out this issue. Thanks -Murali __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] SRIOV-port refused to bind
Also, here’s the pointer to the latest guide which had been updated in this last cycle: http://docs.openstack.org/draft/networking-guide/config-sriov.html Which release are you using ? What is the content of your neutron ml2_conf.ini file ? /ludovic From: Lenny Verkhovsky [mailto:len...@mellanox.com] Sent: September-29-16 3:07 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] SRIOV-port refused to bind HI, Did you configured everything according to https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking? ( including intel_iommu=on ) ? Can you attach more logs and config files of the nova/neutron/neutron plugins Are you working with devstack or distro? From: Murali B [mailto:mbi...@gmail.com] Sent: Thursday, September 29, 2016 5:52 AM To: OpenStack Development Mailing List (not for usage questions) <openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org>> Subject: [openstack-dev] SRIOV-port refused to bind Hi I am using the SRIOV on mitaka. When I try to launch the VM with SRIOV port its failed. When I see the neutrn-server.log I see that below message on controller. ddf81 - - -] Refusing to bind due to unsupported vnic_type: direct bind_port /usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mech_agent.py:65 2016-09-28 18:55:18.384 16531 ERROR neutron.plugins.ml2.managers [req-443e9b6a-45c6-4b30-aa50-52a9b0a4926c 7d0ef58dd1214f54983c9d843fec0bde 238c9900a2ae4b57b01fa72abdeddf81 - - -] Failed to bind port e96eadf3-5501-442a-8bcc-0b4d64617b26 on host A1-22932-compute1 for vnic_type direct using segments [{'segmentation_id': 123, 'physical_network': u'physnet1', 'id': u'30b77081-d02c-4e29-a41a-f8997c1f9f66', 'network_type': u'vlan'}] On compute node I see the below error. 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] flavor, virt_type, self._host) 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 447, in get_config 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] _("Unexpected vif_type=%s") % vif_type) 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] NovaException: Unexpected vif_type=binding_failed Could somebody help me to come-out this issue. Thanks -Murali __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] SRIOV-port refused to bind
HI, Did you configured everything according to https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking? ( including intel_iommu=on ) ? Can you attach more logs and config files of the nova/neutron/neutron plugins Are you working with devstack or distro? From: Murali B [mailto:mbi...@gmail.com] Sent: Thursday, September 29, 2016 5:52 AM To: OpenStack Development Mailing List (not for usage questions) <openstack-dev@lists.openstack.org> Subject: [openstack-dev] SRIOV-port refused to bind Hi I am using the SRIOV on mitaka. When I try to launch the VM with SRIOV port its failed. When I see the neutrn-server.log I see that below message on controller. ddf81 - - -] Refusing to bind due to unsupported vnic_type: direct bind_port /usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mech_agent.py:65 2016-09-28 18:55:18.384 16531 ERROR neutron.plugins.ml2.managers [req-443e9b6a-45c6-4b30-aa50-52a9b0a4926c 7d0ef58dd1214f54983c9d843fec0bde 238c9900a2ae4b57b01fa72abdeddf81 - - -] Failed to bind port e96eadf3-5501-442a-8bcc-0b4d64617b26 on host A1-22932-compute1 for vnic_type direct using segments [{'segmentation_id': 123, 'physical_network': u'physnet1', 'id': u'30b77081-d02c-4e29-a41a-f8997c1f9f66', 'network_type': u'vlan'}] On compute node I see the below error. 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] flavor, virt_type, self._host) 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 447, in get_config 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] _("Unexpected vif_type=%s") % vif_type) 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] NovaException: Unexpected vif_type=binding_failed Could somebody help me to come-out this issue. Thanks -Murali __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] SRIOV-port refused to bind
Hi I am using the SRIOV on mitaka. When I try to launch the VM with SRIOV port its failed. When I see the neutrn-server.log I see that below message on controller. ddf81 - - -] Refusing to bind due to unsupported vnic_type: direct bind_port /usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mech_agent.py:65 2016-09-28 18:55:18.384 16531 ERROR neutron.plugins.ml2.managers [req-443e9b6a-45c6-4b30-aa50-52a9b0a4926c 7d0ef58dd1214f54983c9d843fec0bde 238c9900a2ae4b57b01fa72abdeddf81 - - -] Failed to bind port e96eadf3-5501-442a-8bcc-0b4d64617b26 on host A1-22932-compute1 for vnic_type direct using segments [{'segmentation_id': 123, 'physical_network': u'physnet1', 'id': u'30b77081-d02c-4e29-a41a-f8997c1f9f66', 'network_type': u'vlan'}] On compute node I see the below error. 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] flavor, virt_type, self._host) 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 447, in get_config 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] _("Unexpected vif_type=%s") % vif_type) 2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] NovaException: Unexpected vif_type=binding_failed Could somebody help me to come-out this issue. Thanks -Murali __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev