Closed FedericoRessi closed 8 years ago
Probably my problem is using an old version of OVS and DPDK:
Even stacking with the master branch of all repos in /opt/stack I had the same result:
2015-12-23 11:42:45.717 | running install_egg_info
2015-12-23 11:42:45.718 | removing '/usr/local/lib/python2.7/dist-packages/networking_ovs_dpdk-2015.1.1.dev110-py2.7.egg-info' (and everything under it)
2015-12-23 11:42:45.719 | Copying networking_ovs_dpdk.egg-info to /usr/local/lib/python2.7/dist-packages/networking_ovs_dpdk-2015.1.1.dev110-py2.7.egg-info
2015-12-23 11:42:45.720 | running install_scripts
2015-12-23 11:42:45.743 | ++ popd
2015-12-23 11:42:45.743 | /opt/stack/ovs
2015-12-23 11:42:45.743 | ++ start_ovs_dpdk
2015-12-23 11:42:45.744 | ++ '[' -e /etc/init.d/ovs-dpdk ']'
2015-12-23 11:42:45.744 | ++ sudo service ovs-dpdk start
2015-12-23 11:42:45.750 | sourcing config
2015-12-23 11:42:45.755 | /opt/stack/logs/ovs-vswitchd.pid is not running
2015-12-23 11:42:45.758 | Not all processes are running restart!!!
2015-12-23 11:42:45.758 | 1
2015-12-23 11:42:45.759 | mounting hugepages
2015-12-23 11:42:45.771 | 8192
2015-12-23 11:42:46.002 | libvirt-bin stop/waiting
2015-12-23 11:42:48.040 | libvirt-bin start/running, process 32763
2015-12-23 11:42:48.041 | loading OVS_INTERFACE_DRIVER diver
2015-12-23 11:42:48.042 | Unloading any existing DPDK UIO module
2015-12-23 11:42:48.051 | Loading uio module
2015-12-23 11:42:48.059 | Loading DPDK UIO module
2015-12-23 11:42:48.069 | starting ovs db
2015-12-23 11:42:48.069 | binding nics
2015-12-23 11:42:48.070 | starting vswitchd
2015-12-23 11:42:48.103 | [ERROR] /etc/init.d/ovs-dpdk:319 No argument supplied, PCI_ARRAY[@] expected
2015-12-23 11:42:48.104 | + exit_trap
2015-12-23 11:42:48.104 | + local r=5
2015-12-23 11:42:48.105 | ++ jobs -p
2015-12-23 11:42:48.106 | + jobs=
2015-12-23 11:42:48.106 | + [[ -n '' ]]
2015-12-23 11:42:48.107 | + kill_spinner
2015-12-23 11:42:48.107 | + '[' '!' -z '' ']'
2015-12-23 11:42:48.108 | + [[ 5 -ne 0 ]]
2015-12-23 11:42:48.108 | + echo 'Error on exit'
2015-12-23 11:42:48.109 | Error on exit
2015-12-23 11:42:48.109 | + [[ -z /opt/stack/logs/screen ]]
2015-12-23 11:42:48.109 | + /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs/screen
2015-12-23 11:42:48.365 | + exit 5
Here the versions of repos I am using in /opt/stack:
[devstack]
commit d21747952e32e6495b35f83d0dcea644f3a08a43
Merge: e76410c 239a978
Author: Jenkins <jenkins@review.openstack.org>
Date: Tue Dec 22 06:04:46 2015 +0000
Merge "Remove a stale comment about SQLALCHEMY_DATABASE_DRIVER"
[dpdk]
commit 3b60ce8cbb959d7a6839f94ad995a3594c07801e
Author: John McNamara <john.mcnamara@intel.com>
Date: Wed Dec 16 10:42:50 2015 +0000
doc: fix missing link target in Linux guide
Fix missing link in the Linux GSG, accidentally removed
in previous merge:
WARNING: undefined label: linux_gsg_compiling_dpdk
Fixes: 29c673401c4d ("doc: improve Linux guide layout")
Signed-off-by: John McNamara <john.mcnamara@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
[horizon]
commit 363a341e9a82d0864d369be84e1ba4470d049e32
Merge: d7d4ec0 f89247d
Author: Jenkins <jenkins@review.openstack.org>
Date: Wed Dec 23 08:10:07 2015 +0000
Merge "Misspelling in message"
[keystone]
commit 4ebf58566ec7c3a557987c1c9cfd1e03a91272e6
Merge: a86d979 d446e15
Author: Jenkins <jenkins@review.openstack.org>
Date: Wed Dec 23 00:30:47 2015 +0000
Merge "Add `keystone-manage bootstrap` command"
[networking-ovs-dpdk]
commit 8b557881ca64656dddb16171c188327f7ff47486
Merge: f4de75c c765eb7
Author: Jenkins <jenkins@review.openstack.org>
Date: Mon Dec 14 15:38:44 2015 +0000
Merge "OVS DPDK service shows debug logs on demand"
[neutron]
commit 0bb97acca26f0c139788bf0a33a4b27d4864bcbb
Merge: ce703f7 b0cef88
Author: Jenkins <jenkins@review.openstack.org>
Date: Wed Dec 23 03:46:38 2015 +0000
Merge "XenAPI: Fix netwrap to support security group"
[nova]
commit 727656d2f59e26a8c86afdad9b3709ab8efde3c1
Merge: ebe4e10 eec7a55
Author: Jenkins <jenkins@review.openstack.org>
Date: Wed Dec 23 01:21:16 2015 +0000
Merge "Nuke EC2 API from api-paste and remove wsgi support"
[ovs]
commit b0656bbc1e393f5012b858611d274e031760b4bf
Author: Ben Pfaff <blp@ovn.org>
Date: Tue Dec 22 23:27:45 2015 -0800
ovs-benchmark: Fix memory leak.
This leak is not a real problem.
Reported-by: xushengping
Reported-at: https://github.com/openvswitch/ovs/pull/100
Signed-off-by: Ben Pfaff <blp@ovn.org>
[python-novaclient]
commit 7c3ce18e4d65764cbeee9d0465290fc7bbd33bf5
Merge: 36e125a bbdedc6
Author: Jenkins <jenkins@review.openstack.org>
Date: Fri Dec 18 22:44:53 2015 +0000
Merge "Validation for arguments of list command passed by "--fields""
[requirements]
commit 7d6be02b67e39562f07ebe94000ccfa8ff665857
Merge: e347058 b5e167d
Author: Jenkins <jenkins@review.openstack.org>
Date: Wed Dec 23 00:45:46 2015 +0000
Merge "Add openstack/murano-agent to projects.txt"
Even disabling apparmor
https://github.com/FedericoRessi/devstack-ws/commit/ec5285477e0e53ec8682d52078204775a12eefe3
as sudgested here:
I have the same failure here:
I have to investigate better inside networking-ovs-dpdk
Probably after solving this bug I will see this other problem:
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
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)
After this change: 9b3035bfa631a1969913ecb0331b3491f3535343
Something has changed and now it fails here:
2015-12-23 15:07:19.593 | running install_scripts
2015-12-23 15:07:19.617 | ++ popd
2015-12-23 15:07:19.617 | /opt/stack/ovs
2015-12-23 15:07:19.618 | ++ start_ovs_dpdk
2015-12-23 15:07:19.618 | ++ '[' -e /etc/init.d/ovs-dpdk ']'
2015-12-23 15:07:19.618 | ++ sudo service ovs-dpdk start
2015-12-23 15:07:19.625 | sourcing config
2015-12-23 15:07:19.629 | /opt/stack/logs/ovs-vswitchd.pid is not running
2015-12-23 15:07:19.633 | Not all processes are running restart!!!
2015-12-23 15:07:19.633 | 1
2015-12-23 15:07:19.633 | mounting hugepages
2015-12-23 15:07:19.650 | 8192
2015-12-23 15:07:19.973 | libvirt-bin stop/waiting
2015-12-23 15:07:22.004 | libvirt-bin start/running, process 22615
2015-12-23 15:07:22.006 | loading OVS_INTERFACE_DRIVER diver
2015-12-23 15:07:22.006 | Unloading any existing DPDK UIO module
2015-12-23 15:07:22.012 | Loading uio module
2015-12-23 15:07:22.019 | Loading DPDK UIO module
2015-12-23 15:07:22.029 | starting ovs db
2015-12-23 15:07:22.029 | binding nics
2015-12-23 15:07:22.029 | starting vswitchd
2015-12-23 15:07:22.171 | sudo RTE_SDK=/opt/stack/dpdk RTE_TARGET=build /opt/stack/dpdk/tools/dpdk_nic_bind.py -b igb_uio 0000:00:09.0
2015-12-23 15:07:22.345 | sudo RTE_SDK=/opt/stack/dpdk RTE_TARGET=build /opt/stack/dpdk/tools/dpdk_nic_bind.py -b igb_uio 0000:00:0a.0
2015-12-23 15:07:22.582 | sudo ovs-vsctl --no-wait --may-exist add-port br-eth2 dpdk0 -- set Interface dpdk0 type=dpdk
2015-12-23 15:07:22.611 | sudo ovs-vsctl --no-wait --may-exist add-port br-eth3 dpdk1 -- set Interface dpdk1 type=dpdk
2015-12-23 15:07:23.785 | Waiting for ovs-vswitchd to start...
2015-12-23 15:07:24.854 | 0
2015-12-23 15:07:24.918 | libvirt-bin stop/waiting
2015-12-23 15:07:26.941 | libvirt-bin start/running, process 23089
2015-12-23 15:07:26.944 | [ERROR] /etc/init.d/ovs-dpdk:551 ovs-vswitchd application failed to start
2015-12-23 15:07:26.947 | + exit_trap
2015-12-23 15:07:26.947 | + local r=8
2015-12-23 15:07:26.947 | ++ jobs -p
2015-12-23 15:07:26.948 | + jobs=
2015-12-23 15:07:26.949 | + [[ -n '' ]]
2015-12-23 15:07:26.949 | + kill_spinner
2015-12-23 15:07:26.950 | + '[' '!' -z '' ']'
2015-12-23 15:07:26.950 | + [[ 8 -ne 0 ]]
2015-12-23 15:07:26.951 | + echo 'Error on exit'
2015-12-23 15:07:26.954 | Error on exit
2015-12-23 15:07:26.955 | + [[ -z /opt/stack/logs/screen ]]
2015-12-23 15:07:26.955 | + /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs/screen
It looks like I have jumped to the next problem: I need more RAM for my compute node.
From ovs-vswitchd.log:
EAL: Not enough memory available on socket 0! Requested: 2048MB, available: 1972MB
PANIC in rte_eal_init():
Cannot init memory
7: [/usr/sbin/ovs-vswitchd() [0x411623]]
6: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f2730b88ec5]]
5: [/usr/sbin/ovs-vswitchd() [0x40fe32]]
4: [/usr/sbin/ovs-vswitchd() [0x68c842]]
3: [/usr/sbin/ovs-vswitchd() [0x448db7]]
2: [/usr/sbin/ovs-vswitchd() [0x407c30]]
1: [/usr/sbin/ovs-vswitchd() [0x44ec98]]
It looks like commit 2fdf40e78679f413e1ebb5a218c558edeb43db1e fixed this problem.
I am trying to stack with networking-ovs-dpdk inside a VM running Ubuntu 14.04 LTS with vivid Kernel and clouds repos.
https://github.com/FedericoRessi/devstack-ws/blob/d044f1c54be10648fd4d73c5d775d271a7d5b7b1/scripts/provision.sh#L34-L44
I am using master branch of devstack and networking-ovs-dpdk. I have attached produced logs file and used local.conf.
I have a failure when launching OVS-DPDK:
Summary of stack log:
Tail of full stack log.
Commits ids of repos I am using:
conf-and-logs.zip