MAAS bridge script does not explicitly parse new alias syntax in MAAS 2.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
Using MAAS 2.1 (and curtin 0.1.0~bzr425-
However, Juju's MAAS bridging script was reliant on the old format.
An example alias now looks like:
auto ens3
iface ens3 inet static
address 192.168.20.68/24
gateway 192.168.20.2
mtu 1500
# control-alias ens3
iface ens3 inet static
address 192.168.20.69/24
We previously got 'ens3:1' for the alias and the bridge script looked for and parsed that syntax explicitly. When we run the script against the new format we now get:
auto ens3
iface ens3 inet manual
mtu 1500
auto br-ens3
iface br-ens3 inet static
address 192.168.20.68/24
gateway 192.168.20.2
bridge_ports ens3
auto ens3
iface ens3 inet manual
auto br-ens3
iface br-ens3 inet static
address 192.168.20.69/24
bridge_ports ens3
which appears to work, though this is a sample size of 1.
For the moment this bug is raised for awareness of the change in format.
Looking on a machine I see the following:
$ brctl show bridge name bridge id STP enabled interfaces br-ens3 8000.525400ccead9 no ens3 br-ens4 8000.5254004b7d91 no ens4 lxdbr0 8000.000000000000 no
$ ip addr show br-ens3 | grep -w inet
description: | updated |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.2.0 |
Changed in juju: | |
milestone: | 2.2-beta1 → 2.2-beta2 |
Changed in juju: | |
milestone: | 2.2-beta2 → 2.2-beta3 |
Changed in juju: | |
milestone: | 2.2-beta3 → 2.2-beta4 |
Changed in juju: | |
milestone: | 2.2-beta4 → 2.2-rc1 |
Changed in juju: | |
importance: | High → Medium |
milestone: | 2.2-rc1 → none |
tags: | removed: maas |
We have a similar[1] alias bug which may no longer need fixing in light of the curtin changes identified by this bug. This needs some investigation to understand where/when curtin version (0.1.0~ bzr425- 0ubuntu1~ 16.04.1) gets backported to.
[1] https:/ /bugs.launchpad .net/juju/ +bug/1631940