[ovs-discuss] networking-ovs-dpdk on ubuntu
Rapelly, Varun
vrapelly at sonusnet.com
Mon Nov 2 11:11:24 UTC 2015
Hi All,
I'm trying to install networking-ovs-dpdk with openstack (devstack) on Ubuntu 14.04 (3.13 kernel) on a single node.
Used following steps:
1. echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
2. apt-get install sudo -y
3. apt-get install sudo -y || yum install -y sudo
4. sudo apt-get install git -y || sudo yum install -y git
5. git clone https://git.openstack.org/openstack-dev/devstack
6. cd devstack
7. ./stack.sh
stack at ubuntu:~/devstack$ ifconfig
eth0 Link encap:Ethernet HWaddr 52:55:00:00:00:01
inet addr:10.54.218.56 Bcast:10.54.218.255 Mask:255.255.255.0
inet6 addr: fe80::5055:ff:fe00:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:104 errors:0 dropped:0 overruns:0 frame:0
TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10537 (10.5 KB) TX bytes:14847 (14.8 KB)
I have two other eth1,2 ports on the machine.
I used https://github.com/openstack/networking-ovs-dpdk/blob/master/doc/source/_downloads/local.conf.single_node file as local.conf<https://github.com/openstack/networking-ovs-dpdk/blob/master/doc/source/_downloads/local.conf.single_node%20file%20as%20local.conf> and copied the
same to devstack directory and updated with following details.
I'm facing problem with following configuration.
stack at ubuntu:~/devstack$ cat local.conf
#All in one single node config
[[local|localrc]]
HOST_IP_IFACE=eth0
HOST_IP=10.54.218.56
OVS_BRIDGE_MAPPINGS="default:br-eth0"
With the above configuration, I'm loosing the management connection of the host.
Log shows:
2015-11-02 16:06:13.752 | libvirt-bin start/running, process 11517
2015-11-02 16:06:13.752 | loading OVS_INTERFACE_DRIVER diver
2015-11-02 16:06:13.753 | Unloading any existing DPDK UIO module
2015-11-02 16:06:13.761 | Loading uio module
2015-11-02 16:06:13.768 | Loading DPDK UIO module
2015-11-02 16:06:13.773 | starting ovs db
2015-11-02 16:06:13.773 | binding nics
2015-11-02 16:06:13.773 | starting vswitchd
2015-11-02 16:06:13.969 | sudo ovs-vsctl --no-wait -- --may-exist add-port eth1
2015-11-02 16:06:13.974 | ovs-vsctl: 'add-port' command requires at least 2 arguments
2015-11-02 16:06:15.033 | Waiting for ovs-vswitchd to start...
2015-11-02 16:06:16.041 | Waiting for ovs-vswitchd to start...
2015-11-02 16:06:17.050 | Waiting for ovs-vswitchd to start...
2015-11-02 16:06:18.058 | Waiting for ovs-vswitchd to start...
2015-11-02 16:06:19.066 | Waiting for ovs-vswitchd to start...
2015-11-02 16:06:20.074 | Waiting for ovs-vswitchd to start...
2015-11-02 16:06:21.076 | /etc/init.d/ovs-dpdk: line 483: [: 2015-11-02T16:06:20Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock:: unary operator expected
Please let me know:
1. Do we need to update any other files along with copying local.conf to devstack directory?
2. In OVS_BRIDGE_MAPPINGS="default:br-eth0", do I need to change the interface to some other interface?
3. I would like to build DPDK with "x86_64-native-linuxapp-gcc", where should I update this?
4. I would like to create the ovs-dpdk vhostuser ports, with the other two eth ports, ie.., eth1 & eth2. Where should I update the config for this?
FYI: DPDK: 2.0.0 version OVS: 2.4.0
stack at ubuntu:~/devstack$ uname -a
Linux ubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Regards,
Varun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151102/2741ce27/attachment-0002.html>
More information about the discuss
mailing list