Openstack Queens with SR-IOV x520 (82599) not working

asked 2019-02-21 12:22:57 -0500

jat190 gravatar image

Openstack Queens When I try and build a server to use an sr-iov port, it fails and says

Filter PciPassthroughFilter returned 0 hosts

Can anyone spot an error in my configuration? I'll take any guidance on any other troubleshooting steps

My main sources of information were https://docs.openstack.org/neutron/queens/admin/config-sriov.html (https://docs.openstack.org/neutron/qu...) https://trickycloud.wordpress.com/2016/03/28/openstack-for-nfv-applications-sr-iov-and-pci-passthrough/ (https://trickycloud.wordpress.com/201...)

nova-scheduler.log 2019-02-21 13:00:55.907 8348 INFO nova.filters [req-775c79df-bb00-4139-84c4-c6b6c2eb32d3 e44726cfab2544c6afcc78d4bcdc8a23 0beb1a85ddbd4b7dbd37a7b24f969bd6 - default default] Filter PciPassthroughFilter returned 0 hosts 2019-02-21 13:00:55.907 8348 INFO nova.filters [req-775c79df-bb00-4139-84c4-c6b6c2eb32d3 e44726cfab2544c6afcc78d4bcdc8a23 0beb1a85ddbd4b7dbd37a7b24f969bd6 - default default] Filtering removed all hosts for the request with instance ID 'b0d56f40-86a2-4b1c-b88b-e63fbfc06e0a'. Filter results: ['RetryFilter: (start: 1, end: 1)', 'AvailabilityZoneFilter: (start: 1, end: 1)', 'RamFilter: (start: 1, end: 1)', 'DiskFilter: (start: 1, end: 1)', 'ComputeFilter: (start: 1, end: 1)', 'ComputeCapabilitiesFilter: (start: 1, end: 1)', 'ImagePropertiesFilter: (start: 1, end: 1)', 'PciPassthroughFilter: (start: 1, end: 0)']

nova-conductor.log 2019-02-21 13:00:56.125 10602 WARNING nova.scheduler.utils [req-775c79df-bb00-4139-84c4-c6b6c2eb32d3 e44726cfab2544c6afcc78d4bcdc8a23 0beb1a85ddbd4b7dbd37a7b24f969bd6 - default default] [instance: b0d56f40-86a2-4b1c-b88b-e63fbfc06e0a] Setting instance to ERROR state.: NoValidHost_Remote: No valid host was found. There are not enough hosts available.

[root@queens1 ~(keystone_admin)]# uname -r 4.20.7-1.el7.elrepo.x86_64

[root@queens1 ~(keystone_admin)]# lspci -nnn |grep Ethernet 04:00.0 Ethernet controller [0200]: Intel(R) I350 Gigabit Network Connection [8086:1521] (rev 01) 04:00.1 Ethernet controller [0200]: Intel(R) I350 Gigabit Network Connection [8086:1521] (rev 01) 06:00.0 Ethernet controller [0200]: Intel(R) 82599 10 Gigabit Dual Port Network Connection [8086:10fb] (rev 01) 06:00.1 Ethernet controller [0200]: Intel(R) 82599 10 Gigabit Dual Port Network Connection [8086:10fb] (rev 01) 06:10.1 Ethernet controller [0200]: Intel(R) 82599 Ethernet Controller Virtual Function [8086:10ed] (rev 01) 06:10.3 Ethernet controller [0200]: Intel(R) 82599 Ethernet Controller Virtual Function [8086:10ed] (rev 01) 06:10.5 Ethernet controller [0200]: Intel(R) 82599 Ethernet Controller Virtual Function [8086:10ed] (rev 01) 06:10.7 Ethernet controller [0200]: Intel(R) 82599 Ethernet Controller Virtual Function [8086:10ed] (rev 01) 0a:00.0 Ethernet controller [0200]: Intel(R) 82599 10 Gigabit Dual Port Network Connection [8086:10fb] (rev 01) 0a:00.1 Ethernet controller [0200]: Intel(R) 82599 10 Gigabit Dual Port Network Connection [8086:10fb] (rev 01)

Using enp6s0f1

[root@queens1 ~(keystone_admin)]# cat /sys/class/net/enp6s0f1/device/sriov_numvfs 4

[root@queens1 ~(keystone_admin)]# ip link show enp6s0f1 5: enp6s0f1: <broadcast,multicast,up,lower_up> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 90:e2:ba:4f:48:01 brd ff:ff:ff:ff:ff:ff vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off vf 1 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off vf 2 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off ... (more)

edit retag flag offensive close merge delete