DPDK: Vrouter agent is in init state (dpdk+sriov)
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
Undecided
|
Vinod Nair | |||
Trunk |
Fix Committed
|
Critical
|
Vinod Nair |
Bug Description
Agent is in init state on a setup with DPDK and SRIOV. ,.
This happens because of the combination , individually both are fine
root@cs-scale-2:~# ifconfig vhost0
vhost0 Link encap:Ethernet HWaddr 90:e2:ba:50:ae:d8
inet addr:13.1.0.2 Bcast:13.1.0.255 Mask:255.255.255.0
inet6 addr: fe80::92e2:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:5568 (5.5 KB)
root@cs-scale-2:~# cat /etc/contrail/
physical_
physical_
vmware_
physical_
root@cs-scale-2:~# contrail-status
== Contrail vRouter ==
supervisor-vrouter: active
contrail-
contrail-
contrail-
Testbed snippet
env.dpdk = {
host2: { 'huge_pages' : '25', 'coremask' : '1-4'},
}
env.sriov = {
host2 :[ {'interface' : 'p1p2', 'VF' : 7, 'physnets' : ['physnet1'
}
#OPTIONAL SEPARATION OF MANAGEMENT AND CONTROL + DATA
#======
#Control Interface
control_data = {
host1 : { 'ip': '13.1.0.1/24', 'gw' : '13.1.0.254', 'device':'p1p1' },
host2 : { 'ip': '13.1.0.2/24', 'gw' : '13.1.0.254', 'device':'p1p1' },
}
ETA 02/24/16