spawning a VM with SRIOV interfaces is failing
Hi,
I am running openstack mitaka. I am trying to spawn a VM with 2 interfaces. One interface is Virtio, second one is SRIOV (with binding direct). However VM fails with an error. I am spawning the VM in the following manner
nova boot --flavor vn.nclim8p --boot-volume e7ded76a-53d4-4573-90df-218c80ddbee7 --config-drive true \
--nic port-id=15083f0d-e036-4daf-802d-27859b93595b \
--nic port-id=257b5deb-1023-4528-af40-92fe2fd5a0e6 \
VM
I see the following error in nova-scheduler log
Compute fails NUMA topology requirements.
If I spawn a VM only with Virtio interfaces it is going through fine.
On Compute: nova.conf
pci_passthrough_whitelist = [ {"vendor_id":"15b3", "product_id":"1004"}, { "devname": "ens5f0", "physical_network": "physnet1"} ]
Here both Mellanox (15B3:1004) and Intel cards (ens5f0) are mentioned. SRIOV is working fine for Mellanox cards.
sriov_agent.ini
[securitygroup]
firewall_driver = neutron.agent.firewall.NoopFirewallDriver
[sriov_nic]
physical_device_mappings = physnet1:ens5f0
exclude_devices =
ip link show ens5f0
3: ens5f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 14:02:ec:82:f9:f4 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 1 MAC 1a:2a:7f:cc:a2:fe, spoof checking on, link-state auto
vf 2 MAC 92:bc:69:ab:9f:80, spoof checking on, link-state auto
vf 3 MAC e6:e9:d0:c2:2a:99, spoof checking on, link-state auto
vf 4 MAC 62:b5:e2:35:fb:3c, spoof checking on, link-state auto
vf 5 MAC 62:de:c3:c7:e0:5c, spoof checking on, link-state auto
vf 6 MAC 6e:95:ab:45:71:0e, spoof checking on, link-state auto
On Controller: nova.conf
scheduler_default_filters = AvailabilityZoneFilter, RamFilter, DiskFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter, ServerGroupAntiAffinityFilter, ServerGroupAffinityFilter, NUMATopologyFilter, PciPassthroughFilter, RetryFilter
scheduler_available_filters = nova.scheduler.filters.all_filters
scheduler_available_filters = nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter
pci_alias={"name":"Mellanox_VF", "product_id":"1004", "vendor_id":"15b3", "device_type":"type-VF"}
ml2_conf.ini
[ml2]
type_drivers = flat,vlan
tenant_network_types =
mechanism_drivers = linuxbridge,sriovnicswitch
extension_drivers = port_security
[ml2_sriov]
supported_pci_vendor_devs = 8086:10ed
agent_required = False
[sriov_nic]
physical_device_mappings = physnet1:ens5f0
Can you please let me know if I am missing anything here?
Regards Krishna
Can you add flavor vn.nclim8p and ports details?
Added flavor and port details