DPDK: Setup_interface has issues bringup bond on VF
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
High
|
Vinod Nair | |||
Trunk |
Fix Committed
|
High
|
Vinod Nair |
Bug Description
setup_interface is not able to bring up bond interface on VF's. Configuration wise it looks ok
some parameters like mac, vlans , spoof check etc are not set being set on the VF
root@cs-
[root@10.87.141.1] Executing task 'setup_interface'
2016-04-28 23:01:35:728004: [root@10.87.141.1] sudo: setup-vnc-
2016-04-28 23:01:35:728395: [root@10.87.141.1] out: cat: /proc/net/
2016-04-28 23:01:36:078129: [root@10.87.141.1] out: 2016-04-28 23:01:36,077:: remove_lines:INFO:: Remove Existing Interface configs in /etc/network/
2016-04-28 23:01:36:079256: [root@10.87.141.1] out: cat: /proc/net/
2016-04-28 23:01:36:142976: [root@10.87.141.1] out: 2016-04-28 23:01:36,114:: create_
2016-04-28 23:01:36:143115: [root@10.87.141.1] out: 2016-04-28 23:01:36,130:: create_
2016-04-28 23:01:36:143207: [root@10.87.141.1] out: 2016-04-28 23:01:36,147:: create_
2016-04-28 23:01:36:150986: [root@10.87.141.1] out: 2016-04-28 23:01:39,168:: restart_
2016-04-28 23:01:39:172133: [root@10.87.141.1] out: Internet Systems Consortium DHCP Client 4.2.4
2016-04-28 23:01:39:372945: [root@10.87.141.1] out: Copyright 2004-2012 Internet Systems Consortium.
2016-04-28 23:01:39:373192: [root@10.87.141.1] out: All rights reserved.
2016-04-28 23:01:39:373353: [root@10.87.141.1] out: For info, please visit https:/
2016-04-28 23:01:39:373510: [root@10.87.141.1] out:
2016-04-28 23:01:39:373659: [root@10.87.141.1] out: Listening on LPF/em1/
2016-04-28 23:01:39:373804: [root@10.87.141.1] out: Sending on LPF/em1/
2016-04-28 23:01:39:373953: [root@10.87.141.1] out: Sending on Socket/fallback
2016-04-28 23:01:39:374101: [root@10.87.141.1] out: DHCPRELEASE on em1 to 10.87.132.181 port 67 (xid=0x22f7f9b5)
2016-04-28 23:01:39:374248: [root@10.87.141.1] out: * Stopping NTP server ntpd
2016-04-28 23:01:52:197415: [root@10.87.141.1] out: ...done.
2016-04-28 23:01:52:197685: [root@10.87.141.1] out: * Starting NTP server ntpd
2016-04-28 23:01:52:197849: [root@10.87.141.1] out: ...done.
2016-04-28 23:01:52:198003: [root@10.87.141.1] out: Internet Systems Consortium DHCP Client 4.2.4
2016-04-28 23:01:52:198153: [root@10.87.141.1] out: Copyright 2004-2012 Internet Systems Consortium.
2016-04-28 23:01:52:198306: [root@10.87.141.1] out: All rights reserved.
2016-04-28 23:01:52:198456: [root@10.87.141.1] out: For info, please visit https:/
2016-04-28 23:01:52:198610: [root@10.87.141.1] out:
2016-04-28 23:01:52:198774: [root@10.87.141.1] out: Listening on LPF/em1/
2016-04-28 23:01:52:198923: [root@10.87.141.1] out: Sending on LPF/em1/
2016-04-28 23:01:52:199134: [root@10.87.141.1] out: Sending on Socket/fallback
2016-04-28 23:01:52:199288: [root@10.87.141.1] out: DHCPDISCOVER on em1 to 255.255.255.255 port 67 interval 3 (xid=0x33218fcd)
2016-04-28 23:01:52:199469: [root@10.87.141.1] out: DHCPDISCOVER on em1 to 255.255.255.255 port 67 interval 8 (xid=0x33218fcd)
2016-04-28 23:01:52:199628: [root@10.87.141.1] out: DHCPDISCOVER on em1 to 255.255.255.255 port 67 interval 9 (xid=0x33218fcd)
2016-04-28 23:01:52:199784: [root@10.87.141.1] out: DHCPREQUEST of 10.87.141.1 on em1 to 255.255.255.255 port 67 (xid=0x33218fcd)
2016-04-28 23:01:52:199936: [root@10.87.141.1] out: DHCPOFFER of 10.87.141.1 from 10.87.132.181
2016-04-28 23:01:52:200086: [root@10.87.141.1] out: DHCPACK of 10.87.141.1 from 10.87.132.181
2016-04-28 23:01:52:200235: [root@10.87.141.1] out: * Stopping NTP server ntpd
2016-04-28 23:01:52:200421: [root@10.87.141.1] out: ...done.
2016-04-28 23:01:52:200571: [root@10.87.141.1] out: * Starting NTP server ntpd
2016-04-28 23:01:54:205614: [root@10.87.141.1] out: ...done.
2016-04-28 23:01:54:213328: [root@10.87.141.1] out: bound to 10.87.141.1 -- renewal in 10740 seconds.
2016-04-28 23:01:54:229182: [root@10.87.141.1] out: Waiting for bonding kernel module to be ready (will timeout after 5s)
2016-04-28 23:01:54:429815: [root@10.87.141.1] out: Waiting for bond master bond0 to be ready
2016-04-28 23:01:54:430137: [root@10.87.141.1] out:
2016-04-28 23:02:00:404421:
2016-04-28 23:02:00:404965: [root@10.87.141.2] sudo: echo 7 > /sys/class/
2016-04-28 23:02:00:405473: [root@10.87.141.2] sudo: sed -i '/^\s*exit/i echo 7 > /sys/class/
2016-04-28 23:02:01:032592: [root@10.87.141.2] sudo: echo 7 > /sys/class/
2016-04-28 23:02:01:319337: [root@10.87.141.2] sudo: sed -i '/^\s*exit/i echo 7 > /sys/class/
2016-04-28 23:02:01:919248: [root@10.87.141.2] sudo: setup-vnc-
2016-04-28 23:02:02:085401: [root@10.87.141.2] out: cat: /proc/net/
2016-04-28 23:02:02:653389: [root@10.87.141.2] out: 2016-04-28 23:02:02,650:: remove_lines:INFO:: Remove Existing Interface configs in /etc/network/
2016-04-28 23:02:02:653613: [root@10.87.141.2] out: cat: /proc/net/
2016-04-28 23:02:02:717808: [root@10.87.141.2] out: 2016-04-28 23:02:02,696:: create_
2016-04-28 23:02:02:718079: [root@10.87.141.2] out: 2016-04-28 23:02:02,726:: create_
2016-04-28 23:02:02:725883: [root@10.87.141.2] out: 2016-04-28 23:02:02,749:: create_
2016-04-28 23:02:02:757671: [root@10.87.141.2] out: 2016-04-28 23:02:05,792:: restart_
2016-04-28 23:02:05:795206: [root@10.87.141.2] out: Internet Systems Consortium DHCP Client 4.2.4
2016-04-28 23:02:05:995962: [root@10.87.141.2] out: Copyright 2004-2012 Internet Systems Consortium.
2016-04-28 23:02:05:996228: [root@10.87.141.2] out: All rights reserved.
2016-04-28 23:02:05:996439: [root@10.87.141.2] out: For info, please visit https:/
2016-04-28 23:02:05:996584: [root@10.87.141.2] out:
2016-04-28 23:02:05:996723: [root@10.87.141.2] out: Listening on LPF/em1/
2016-04-28 23:02:06:004675: [root@10.87.141.2] out: Sending on LPF/em1/
2016-04-28 23:02:06:004900: [root@10.87.141.2] out: Sending on Socket/fallback
2016-04-28 23:02:06:005048: [root@10.87.141.2] out: DHCPRELEASE on em1 to 10.87.132.181 port 67 (xid=0x6beb8150)
2016-04-28 23:02:06:005188: [root@10.87.141.2] out: * Stopping NTP server ntpd
2016-04-28 23:02:19:644242: [root@10.87.141.2] out: ...done.
2016-04-28 23:02:19:644946: [root@10.87.141.2] out: * Starting NTP server ntpd
2016-04-28 23:02:19:645919: [root@10.87.141.2] out: ...done.
2016-04-28 23:02:19:646624: [root@10.87.141.2] out: Internet Systems Consortium DHCP Client 4.2.4
2016-04-28 23:02:19:646984: [root@10.87.141.2] out: Copyright 2004-2012 Internet Systems Consortium.
2016-04-28 23:02:19:647473: [root@10.87.141.2] out: All rights reserved.
2016-04-28 23:02:19:647936: [root@10.87.141.2] out: For info, please visit https:/
2016-04-28 23:02:19:648391: [root@10.87.141.2] out:
2016-04-28 23:02:19:648548: [root@10.87.141.2] out: Listening on LPF/em1/
2016-04-28 23:02:19:649333: [root@10.87.141.2] out: Sending on LPF/em1/
2016-04-28 23:02:19:649507: [root@10.87.141.2] out: Sending on Socket/fallback
2016-04-28 23:02:19:649662: [root@10.87.141.2] out: DHCPDISCOVER on em1 to 255.255.255.255 port 67 interval 3 (xid=0x5979a128)
2016-04-28 23:02:19:649816: [root@10.87.141.2] out: DHCPDISCOVER on em1 to 255.255.255.255 port 67 interval 8 (xid=0x5979a128)
2016-04-28 23:02:19:650011: [root@10.87.141.2] out: DHCPDISCOVER on em1 to 255.255.255.255 port 67 interval 20 (xid=0x5979a128)
2016-04-28 23:02:19:650167: [root@10.87.141.2] out: DHCPREQUEST of 10.87.141.2 on em1 to 255.255.255.255 port 67 (xid=0x5979a128)
2016-04-28 23:02:19:650326: [root@10.87.141.2] out: DHCPOFFER of 10.87.141.2 from 10.87.132.181
2016-04-28 23:02:19:650573: [root@10.87.141.2] out: DHCPACK of 10.87.141.2 from 10.87.132.181
2016-04-28 23:02:19:650721: [root@10.87.141.2] out: * Stopping NTP server ntpd
2016-04-28 23:02:19:650868: [root@10.87.141.2] out: ...done.
2016-04-28 23:02:19:651016: [root@10.87.141.2] out: * Starting NTP server ntpd
2016-04-28 23:02:21:656721: [root@10.87.141.2] out: ...done.
2016-04-28 23:02:21:664670: [root@10.87.141.2] out: bound to 10.87.141.2 -- renewal in 8568 seconds.
2016-04-28 23:02:21:680617: [root@10.87.141.2] out: Waiting for bonding kernel module to be ready (will timeout after 5s)
2016-04-28 23:02:22:382382: [root@10.87.141.2] out: Waiting for bond master bond0 to be ready
2016-04-28 23:02:22:382626: [root@10.87.141.2] out: Failed to enslave p1p1_4 to bond0. Is bond0 ready and a bonding interface ?
2016-04-28 23:02:22:483266: [root@10.87.141.2] out: Failed to enslave p1p2_4 to bond0. Is bond0 ready and a bonding interface ?
2016-04-28 23:02:22:647579: [root@10.87.141.2] out: Set name-type for VLAN subsystem. Should be visible in /proc/net/
2016-04-28 23:02:22:811869: [root@10.87.141.2] out: ERROR: trying to add VLAN #141 to IF -:bond0:- error: Operation not supported
2016-04-28 23:02:22:812079: [root@10.87.141.2] out: Cannot find device "bond0.141"
2016-04-28 23:02:22:812199: [root@10.87.141.2] out: Failed to bring up bond0.141.
2016-04-28 23:02:22:812343: [root@10.87.141.2] out:
2016-04-28 23:02:27:884981:
2016-04-28 23:02:27:885500:
#OPTIONAL BONDING CONFIGURATION
#======
#Inferface Bonding
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'
}
root@cs-scale-2:~# ip link show dev p1p1
3: p1p1: <BROADCAST,
link/ether 90:e2:ba:50:ae:d8 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 1 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 2 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 3 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 4 MAC 82:f0:35:d4:9c:e0, spoof checking on, link-state auto
vf 5 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 6 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
root@cs-scale-2:~# ip link show dev p1p2
5: p1p2: <BROADCAST,
link/ether 90:e2:ba:50:ae:d9 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 1 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 2 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 3 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 4 MAC 4e:3a:d5:9c:7d:8b, spoof checking on, link-state auto
vf 5 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 6 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
information type: | Proprietary → Public |
tags: | added: blocker |
Fixed in https:/ /bugs.launchpad .net/juniperope nstack/ +bug/1573255