DPDK: Vrouter with Bond on VF is not coming up
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
High
|
Kiran | |||
Trunk |
Fix Committed
|
High
|
Kiran |
Bug Description
On a Compute with bond on VF( 1 VF from each port is assigned to bond). Provision went through fine
also before the compute was provisioned bond was up was able to ping the next-hop
DPDK: Vrouter with Bond on VF is not coming up
root@cs-scale-2:~# vif --list
Vrouter Interface Table
Flags: P=Policy, X=Cross Connect, S=Service Chain, Mr=Receive Mirror
Mt=Transmit Mirror, Tc=Transmit Checksum Offload, L3=Layer 3, L2=Layer 2
D=DHCP, Vp=Vhost Physical, Pr=Promiscuous, Vnt=Native Vlan Tagged
Mnp=No MAC Proxy, Dpdk=DPDK PMD Interface, Rfl=Receive Filtering Offload, Mon=Interface is Monitored
Uuf=Unknown Unicast Flood, Vof=VLAN insert/strip offload
vif0/2 Socket: unix
RX port packets:437 errors:0
RX queue errors to lcore 0 0 0 0 0 0 0 0 0 0 0 0 0 0
RX packets:437 bytes:37582 errors:437
TX packets:0 bytes:0 errors:0
EAL: PCI device 0000:03:00.0 on NUMA socket 0
EAL: probe driver: 8086:1521 rte_igb_pmd
EAL: Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:03:00.1 on NUMA socket 0
EAL: probe driver: 8086:1521 rte_igb_pmd
EAL: Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:81:00.0 on NUMA socket 1
EAL: probe driver: 8086:10fb rte_ixgbe_pmd
EAL: Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:81:00.1 on NUMA socket 1
EAL: probe driver: 8086:10fb rte_ixgbe_pmd
EAL: Not managed by a supported kernel driver, skipped
2016-04-21 14:02:10,516 VROUTER: Found 0 eth device(s)
2016-04-21 14:02:10,516 VROUTER: Using 4 forwarding lcore(s)
2016-04-21 14:02:10,516 VROUTER: Using 0 IO lcore(s)
2016-04-21 14:02:10,516 VROUTER: Using 5 service lcores
2016-04-21 14:02:10,516 VROUTER: set fd limit to 4096 (prev 1024, max 4096)
2016-04-21 14:02:10,532 VROUTER: Starting NetLink...
2016-04-21 14:02:10,532 USOCK: usock_alloc[
2016-04-21 14:02:10,532 USOCK: usock_alloc[
Buffer size set to 18320000 (requested 9216000)
2016-04-21 14:02:10,532 VROUTER: NetLink TCP socket FD is 41
2016-04-21 14:02:10,532 VROUTER: uvhost Unix socket FD is 42
2016-04-21 14:02:10,532 VROUTER: Lcore 10: distributing MPLSoGRE packets to [11,12,13]
2016-04-21 14:02:10,532 VROUTER: Lcore 11: distributing MPLSoGRE packets to [10,12,13]
2016-04-21 14:02:10,532 VROUTER: Lcore 12: distributing MPLSoGRE packets to [10,11,13]
2016-04-21 14:02:10,532 VROUTER: Lcore 13: distributing MPLSoGRE packets to [10,11,12]
2016-04-21 14:02:10,532 UVHOST: Starting uvhost server...
2016-04-21 14:02:10,532 UVHOST: server event FD is 43
2016-04-21 14:02:10,532 UVHOST: server socket FD is 44
2016-04-21 14:02:11,532 VROUTER: Retrying connection for socket 42...
2016-04-21 14:02:11,532 UVHOST: Handling connection FD 44...
2016-04-21 14:02:11,532 UVHOST: FD 44 accepted new NetLink connection FD 47
2016-04-21 14:02:11,541 DPCORE: vrouter soft reset start
2016-04-21 14:02:11,560 DPCORE: vrouter soft reset done (0)
2016-04-21 14:02:34,852 VROUTER: Error adding vif 0 eth device 0: invalid PMD 0 (must be less than 0)
2016-04-21 14:02:34,852 VROUTER: Deleting vif 0 eth device
2016-04-21 14:02:34,852 VROUTER: error deleting eth dev : already removed
2016-04-21 14:04:18,858 VROUTER: Error adding vif 0 eth device bond0: no port ID found for PCI 0000:00:00.0
2016-04-21 14:04:18,858 VROUTER: Deleting vif 0 eth device
2016-04-21 14:04:18,858 VROUTER: error deleting eth dev : already removed
2016-04-21 14:04:18,858 VROUTER: Adding vif 2 (gen. 3) packet device unix
2016-04-21 14:04:18,858 USOCK: usock_alloc[
2016-04-21 14:04:18,858 USOCK: usock_alloc[
Buffer size set to 18320000 (requested 9216000)
TESTBED.py snippet
env.dpdk = {
host2: { 'huge_pages' : '50', 'coremask' : '0xf'},
}
env.sriov = {
host2 :[ {'interface' : 'p1p1', 'VF' : 7, 'physnets' : ['physnet1'
}
bond= {
host1 : { 'name': 'bond0', 'member': ['p1p1','p1p2'], 'mode': '802.3ad', 'xmit_hash_policy': 'layer3+4' },
host2 : { 'name': 'bond0', 'member': ['p1p1_
}
#OPTIONAL SEPARATION OF MANAGEMENT AND CONTROL + DATA
#======
#Control Interface
control_data = {
host1 : { 'ip': '13.1.0.1/24', 'gw' : '13.1.0.254', 'device':'bond0' },
host2 : { 'ip': '13.1.0.2/24', 'gw' : '13.1.0.254', 'device':'bond0'}
}
Version: 3.0.2.0-31~kilo
Changed in juniperopenstack: | |
importance: | Undecided → High |
information type: | Proprietary → Public |
tags: | added: blocker |
Review in progress for https:/ /review. opencontrail. org/20397
Submitter: Raja Sivaramakrishnan (<email address hidden>)