DPDK installation doesn't work on KVM guest

Bug #1706028 reported by Andrey Pavlov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
Low
Unassigned
R4.0
Won't Fix
Low
Unassigned
Trunk
Won't Fix
Low
Unassigned

Bug Description

build 22, ubuntu xenial as a guest

OS is broken after setup vrouter in DPDK mode
interfaces 'ens3' and 'vhost0' are absent in the system (it was 'ens3')

steps to reproduce:

1) prepare network with virhs, get ubuntu cloud image for 16.04

2) start guest VM:
virt-install --name compute-1 --ram 4096 --vcpus 2 --virt-type kvm --os-type=linux --os-variant ubuntu16.04 --disk path=/home/jenkins/libvirt/jujuimages/juju-os-comp-2.qcow2,cache=writeback,bus=virtio,serial=b239579f-deca-4a12-8ee6-66034dc9206e --noautoconsole --network network=juju,model=e1000,mac=52:54:00:10:00:03 --cpu SandyBridge,+vmx,+ssse3 --memorybacking hugepages=on --boot hd

3) add repositories for OpenStack and Contrail with build 22:
sudo add-apt-repository -y cloud-archive:newton
curl -fsSL http://52.14.140.94/ubuntu/repo.key | sudo apt-key add -
sudo add-apt-repository "deb http://52.14.140.94/ubuntu xenial main"
sudo apt-get update

4) install packages
sudo apt-get install linux-image-extra-`uname -r` dpdk nova-compute contrail-setup contrail-utils contrail-vrouter-dpdk contrail-vrouter-agent contrail-vrouter-common contrail-vrouter-dpdk-init

5) check module:
sudo modprobe uio_pci_generic
sudo /opt/contrail/bin/dpdk_nic_bind.py --status

6) setup vrouter:
sudo contrail-compute-setup --self_ip 10.0.0.181 --dpdk huge_pages=1,coremask=1,uio_driver=uio_pci_generic

7) up&down interfaces
sudo ifdown -a && sudo ifup -a

tags: removed: blocker
Vineet Gupta (vineetrf)
tags: removed: dt-charms
Jeba Paulaiyan (jebap)
information type: Proprietary → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.