FedericoRessi / devstack-ws

Workspace tools to work with OpenStack and test it using Vagrant
Apache License 2.0
0 stars 1 forks source link

pciutils built without libkmod support #7

Open FedericoRessi opened 8 years ago

FedericoRessi commented 8 years ago

This bug has to be probably workaround as it is expected to hurt compute node when using Ubuntu.

https://bugs.launchpad.net/ubuntu/+source/pciutils/+bug/1516095

Proposed workaround for it is running following just before stacking:

sudo /opt/stack/DPDK-*/tools/dpdk_nic_bind.py –b ixgbe <pci_address>

Where would be one of following:

vagrant@control:~$ lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:08.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:09.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:0a.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)
FedericoRessi commented 8 years ago

Before stacking:

/opt/stack/dpdk/tools$ ./dpdk_nic_bind.py --status

Network devices using DPDK-compatible driver
============================================
<none>

Network devices using kernel driver
===================================
0000:00:03.0 '82540EM Gigabit Ethernet Controller' if=eth0 drv=e1000 unused= *Active*
0000:00:08.0 '82540EM Gigabit Ethernet Controller' if=eth1 drv=e1000 unused= *Active*
0000:00:09.0 '82540EM Gigabit Ethernet Controller' if=eth2 drv=e1000 unused= *Active*
0000:00:0a.0 '82540EM Gigabit Ethernet Controller' if=eth3 drv=e1000 unused= 

Other network devices
=====================
<none>

After stacking:

/opt/stack/dpdk/tools$ ./dpdk_nic_bind.py --status

Network devices using DPDK-compatible driver
============================================
0000:00:0a.0 '82540EM Gigabit Ethernet Controller' drv=igb_uio unused=

Network devices using kernel driver
===================================
0000:00:03.0 '82540EM Gigabit Ethernet Controller' if=eth0 drv=e1000 unused=igb_uio *Active*
0000:00:08.0 '82540EM Gigabit Ethernet Controller' if=eth1 drv=e1000 unused=igb_uio *Active*
0000:00:09.0 '82540EM Gigabit Ethernet Controller' if=eth2 drv=e1000 unused=igb_uio *Active*

Other network devices
=====================
<none>
FedericoRessi commented 8 years ago

According last conversation I had on this issue this should not affect this workflow if devstack is used to launch openstack and ovs-dpdk.