MAAS bridge script does not handle post-up command changes from curtin (0.1.0~bzr399-0ubuntu1~16.04.1)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
Curtin version (0.1.0~
From the changelog @ https:/
curtin/net: use post-up for interface alias, resolve 120 second time out
on Trusty when using interface aliases
If aliases are used in MAAS we get an /etc/network/
auto ens3
iface ens3 inet static
address 192.168.20.201/24
gateway 192.168.20.1
mtu 1500
post-up ifup ens3:1
auto ens3:1
iface ens3:1 inet static
address 192.168.20.202/24
However, the MAAS bridge script does not parse post-up commands, leaving the name 'ens3:1' unchanged after bridging.
For example:
$ ./add-juju-
auto ens3
iface ens3 inet manual
mtu 1500
post-up ifup ens3:1
auto br-ens3
iface br-ens3 inet static
address 192.168.20.201/24
gateway 192.168.20.1
post-up ifup ens3:1
bridge_ports ens3
auto br-ens3:1
iface br-ens3:1 inet static
address 192.168.20.202/24
The alias names in the post-up commands should now be 'br-ens3:1'.
Changed in juju: | |
milestone: | none → 2.1.0 |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju: | |
milestone: | 2.1-rc2 → none |
tags: | removed: maas |
Removing 2.1 milestone as we will not be addressing this issue in 2.1.