Issues with ovs-dpdk + devstack

asked 2016-03-28 18:34:43 -0600

Bonym2Ani gravatar image

updated 2016-04-11 17:03:35 -0600

Hi, I am trying to bring up my setup using the configuration below and having trouble VM networking to work. Below are the details and logs. Please help

libvirtd (libvirt) 1.3.2 ~/devstack$ qemu-system-x86_64 --version QEMU emulator version 2.5.0, Copyright (c) 2003-2008 Fabrice Bellard Ubuntu14.04 , 3.16.0-67-generic using latest devstack

The instances are coming up but not getting any ip and ovs-ofctl show br-int shows interfaces are down. I did the following to stat the linstance:

source openrc admin demo nova flavor-key m1.tiny set "hw:mempagesize=large" nova boot --flavor m1.tiny --image cirros-0.3.4-x86_64-uec --nic net-id=df803185-c294-4b74-a673-61eab3963ee2 --security-group default new-ins2

neutron net-list +--------------------------------------+---------+----------------------------------------------------------+ | id | name | subnets | +--------------------------------------+---------+----------------------------------------------------------+ | df803185-c294-4b74-a673-61eab3963ee2 | private | e34e5f94-3c3b-42d4-b3e3-319d54172b3e fdf3:b6e8:819c::/64 | | | | 20d190ae-cbe4-489e-af0b-b8b55a859014 10.0.0.0/24 | | 56bc7974-6e39-4c48-83bb-ea9fb34cc620 | public | 6117e0f0-0566-43d4-b47d-0f134795b0e9 | | | | 65ebaaa1-3e70-4de3-af97-b43e7711d76f | +--------------------------------------+---------+----------------------------------------------------------+

my local rc as below:

[[local|localrc]]

HOST_IP_IFACE=em49 HOST_IP=10.219.109.197 HOST_NAME=$(hostname) RTE_TARGET=x86_64-native-linuxapp-gcc MYSQL_PASSWORD=password DATABASE_PASSWORD=password RABBIT_PASSWORD=password ADMIN_PASSWORD=password SERVICE_PASSWORD=password HORIZON_PASSWORD=password SERVICE_TOKEN=tokentoken enable_plugin networking-ovs-dpdk https://github.com/openstack/networking-ovs-dpdk (https://github.com/openstack/networki...) stable/liberty OVS_DPDK_MODE=controller_ovs_dpdk

disable_service n-net enable_service n-cpu enable_service neutron enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-l3 enable_service q-meta enable_service n-novnc

DEST=/opt/stack SCREEN_LOGDIR=$DEST/logs/screen LOGFILE=${SCREEN_LOGDIR}/xstack.sh.log LOGDAYS=1

vlan tenant networks only

Q_ML2_TENANT_NETWORK_TYPE=vlan ENABLE_TENANT_VLANS=True ENABLE_TENANT_TUNNELS=False ML2_VLAN_RANGES=default:2000:2999

OVS_NUM_HUGEPAGES=2048 OVSHUGEPAGEMOUNTPAGESIZE=1G OVS_DATAPATH_TYPE=netdev OVS_LOG_DIR=/opt/stack/logs OVS_BRIDGE_MAPPINGS=default:br-em50 OVS_DPDK_PORT_MAPPINGS=em50:br-em50

[[post-config|$NOVA_CONF]] [DEFAULT] firewall_driver=nova.virt.firewall.NoopFirewallDriver scheduler_default_filters=RamFilter,ComputeFilter,AvailabilityZoneFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,PciPassthroughFilter,NUMATopologyFilter,AggregateInstanceExtraSpecsFilter

nova list +--------------------------------------+----------+--------+------------+-------------+--------------------------------------------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+----------+--------+------------+-------------+--------------------------------------------------------+ | b5af1861-117e-44c2-98bf-c002ec7d9c17 | new-ins2 | ACTIVE | - | Running | private=10.0.0.3, fdf3:b6e8:819c:0:f816:3eff:fe0c:473c | +--------------------------------------+----------+--------+------------+-------------+--------------------------------------------------------+

guest log shows: /usr/local/var/log/libvirt/qemu/instance-00000001.log

2016-03-28 22:59:12.233+0000: starting up libvirt version: 1.3.2, qemu version: 2.2.0 (Debian 1:2.2+dfsg-5expubuntu9.7~cloud1), hostname: hpdpdk LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/kvm -name instance-00000001 -S -machine pc-i440fx-utopic,accel=kvm,usb=off -m 512 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid b5af1861-117e-44c2-98bf-c002ec7d9c17 -smbios 'type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=13.0.0,serial=169d1102-5a01-4004-92fc-38016ba032a1,uuid=b5af1861-117e-44c2-98bf-c002ec7d9c17,family=Virtual Machine' -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/usr/local/var/lib/libvirt/qemu/domain-instance-00000001/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on -kernel /opt/stack/data/nova/instances/b5af1861-117e-44c2-98bf-c002ec7d9c17/kernel -initrd /opt/stack/data/nova/instances/b5af1861-117e-44c2-98bf-c002ec7d9c17/ramdisk -append 'root=/dev/vda console=tty0 console=ttyS0' -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/opt/stack/data/nova/instances/b5af1861-117e-44c2-98bf-c002ec7d9c17/disk,format=qcow2,if=none,id=drive-virtio-disk0,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive file=/opt/stack/data/nova/instances/b5af1861-117e-44c2-98bf-c002ec7d9c17/disk ... (more)

edit retag flag offensive close merge delete

Comments

Hi, I am also facing the same issue. Any leads on this?

prateeka gravatar imageprateeka ( 2016-09-20 04:59:30 -0600 )edit