vlan created on bond fails auto activation on updating parent network bond
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Canonical Foundations Team | ||
network-manager (Ubuntu) |
Fix Released
|
High
|
Skipper Bug Screeners | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
Auto activation of Vlan created over network-bond fails if bond is deactivated and reactivated.
Contact Information = Abhiram Kulkarni(<email address hidden>), Mandar Deshpande(<email address hidden>)
---uname output---
Linux S36MANDAR 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:14:23 UTC 2018 s390x s390x s390x GNU/Linux
Machine Type = s390x
---Debugger---
A debugger is not configured
---Steps to Reproduce---
1. Created a network bond with static IP address (and no IPv6 address); active backup mode; ARP polling; single slave.
2. Created a VLAN using said network bond with static IPv4 address (and no IPv6 address).
3. Can ping from the appliance to a target on both links (the parent bond and the VLAN).
4. Switched to another slave for the created bond
5. Can still ping from the appliance to a target via the parent bond; however, cannot ping to the target via the VLAN.
=======
Detailed steps:
1. Initial setup:
============
root@S36MANDAR:~# nmcli c s
NAME UUID TYPE DEVICE
enc1a80 c3a2037d-
enc8f00 2423add6-
enc1d40 ff2d70f8-
2. Create Netwrok-bond with one slave:
=======
root@S36MANDAR:~# nmcli c add type bond con-name mybond1 ifname mybond1 ipv4.method disabled ipv6.method ignore
Connection 'mybond1' (4b918a65-
root@S36MANDAR:~# nmcli con add type ethernet ifname enc1d40 master mybond1
Connection 'bond-slave-
root@S36MANDAR:~# nmcli con up bond-slave-enc1d40
Connection successfully activated (D-Bus active path: /org/freedeskto
root@S36MANDAR:~# nmcli c s
NAME UUID TYPE DEVICE
bond-slave-enc1d40 cfe4b245-
enc1a80 c3a2037d-
enc8f00 2423add6-
mybond1 4b918a65-
enc1d40 ff2d70f8-
3. Create vlan over mybond1:
=======
root@S36MANDAR:~# nmcli con add type vlan con-name vlanbond.100 ifname vlanbond.100 dev mybond1 id 100 ipv4.method disabled ipv6.method ignore
Connection 'vlanbond.100' (e054df42-
root@S36MANDAR:~# nmcli c s
NAME UUID TYPE DEVICE
bond-slave-enc1d40 cfe4b245-
enc1a80 c3a2037d-
enc8f00 2423add6-
mybond1 4b918a65-
vlanbond.100 e054df42-
enc1d40 ff2d70f8-
4. Reactivate bond :
=================
root@S36MANDAR:~# nmcli con up mybond1
Connection successfully activated (master waiting for slaves) (D-Bus active path: /org/freedeskto
root@S36MANDAR:~# nmcli c s
NAME UUID TYPE DEVICE
enc1a80 c3a2037d-
enc1d40 ff2d70f8-
enc8f00 2423add6-
mybond1 4b918a65-
bond-slave-enc1d40 cfe4b245-
encw1810 4ddeb38e-
vlanbond.100 e054df42-
As is seen, vlan(vlanbond.100) did not get activated
Now, if manually I make vlan connection up, it gets activated:
root@S36MANDAR:~# nmcli con up vlanbond.100
NAME UUID TYPE DEVICE
bond-slave-enc1d40 cfe4b245-
enc1a80 c3a2037d-
enc8f00 2423add6-
mybond1 4b918a65-
vlanbond.100 e054df42-
enc1d40 ff2d70f8-
encw1810 4ddeb38e-
tags: | added: architecture-s39064 bugnameltc-170894 severity-high targetmilestone-inin1804 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
Changed in ubuntu-z-systems: | |
importance: | Undecided → High |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
affects: | linux (Ubuntu) → network-manager (Ubuntu) |
Changed in network-manager (Ubuntu): | |
status: | New → Incomplete |
Changed in ubuntu-z-systems: | |
status: | New → Incomplete |
Changed in network-manager (Ubuntu): | |
status: | Incomplete → Won't Fix |
Changed in network-manager (Ubuntu): | |
status: | Won't Fix → Fix Released |
tags: |
added: verification-done verification-done-bionic removed: verification-needed verification-needed-bionic |
Changed in ubuntu-z-systems: | |
status: | Won't Fix → Fix Committed |
Changed in network-manager (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in network-manager (Ubuntu): | |
importance: | Undecided → High |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
This output shows that you are using nmcli to manage network connections. Network-manager is not part of the Ubuntu Server platform, it is not included in the images Ubuntu provides for s390x, and it is not the recommended tool for configuring vlans and bonds in Ubuntu.
To show that this is a problem with the Ubuntu Server network stack, please reproduce this problem with netplan(5).