Primary slave on the bond not getting set.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Fix Released
|
Medium
|
Lukas Märdian | ||
Bionic |
Fix Released
|
Medium
|
Seyeong Kim | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
primary slave fails to get set in netplan bonding configuration
[Test Case]
0. created vm with 3 nics ( ens33, ens38, ens39 )
1. setup netplan as below
- https:/
- ens38, ens39 is virtual nic, and dummy2 is not.
2. netplan apply
3. shows error
[Where problems could occur]
As this patch is related to bond, bond may have issue if there is problem.
[Others]
original description
The primary slave fails to get set in netplan bonding configuration:
network:
version: 2
ethernets:
e1p1:
- x.x.x.x/x
match:
mtu: 9000
- x.x.x.x
p1p1:
match:
mtu: 1500
p1p2:
match:
mtu: 1500
bonds:
bond0:
mtu: 9000
interfaces: [p1p1, p1p2]
parameters:
mode: active-backup
primary: p1p2
~$ sudo netplan --debug apply
sudo netplan --debug apply
** (generate:7353): DEBUG: 13:22:31.480: Processing input file /etc/netplan/
** (generate:7353): DEBUG: 13:22:31.480: starting new processing pass
** (generate:7353): DEBUG: 13:22:31.480: Processing input file /etc/netplan/
** (generate:7353): DEBUG: 13:22:31.480: starting new processing pass
** (generate:7353): DEBUG: 13:22:31.480: recording missing yaml_node_t bond0
** (generate:7353): DEBUG: 13:22:31.480: recording missing yaml_node_t bond0
** (generate:7353): DEBUG: 13:22:31.480: recording missing yaml_node_t bond0
** (generate:7353): DEBUG: 13:22:31.480: recording missing yaml_node_t bond0
** (generate:7353): DEBUG: 13:22:31.480: recording missing yaml_node_t bond0
** (generate:7353): DEBUG: 13:22:31.480: starting new processing pass
Error in network definition /etc/netplan/
What's wrong here??
#apt-cache policy netplan.io
netplan.io:
Installed: 0.40.1~18.04.4
Candidate: 0.40.1~18.04.4
Version table:
*** 0.40.1~18.04.4 500
500 http://
500 http://
100 /var/lib/
0.36.1 500
500 http://
#cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
regards,
Shahaan
Changed in netplan.io (Ubuntu): | |
assignee: | nobody → Lukas Märdian (slyon) |
status: | Confirmed → In Progress |
Changed in netplan.io (Ubuntu Focal): | |
status: | New → Fix Released |
tags: | removed: bonding verification-needed |
Status changed to 'Confirmed' because the bug affects multiple users.