JUJU Beta 10 VLAN config in ENI not adding 'auto iface'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Andrew McDermott | ||
juju-core |
Fix Released
|
High
|
Michael Foord | ||
1.25 |
Fix Released
|
High
|
Michael Foord |
Bug Description
Using MAAS 2Beta7 and JUJU 2 Beta 10
When deploying bare metal machine the interfaces file is missing a few 'auto iface' lines causing VLAN to not work after deploy. If you manually add the 'auto iface' to the interfaces file everything works correctly. This issue started with Beta 10, everything has been fine in previous Beta releases. Tested on multiple types of bare metal, this issue happens to them all.
#######
interfaces file after initial deploy.
auto lo
iface lo inet loopback
dns-nameservers 10.1.0.2
dns-search maas
iface enp3s0f0 inet manual
auto br-enp3s0f0
iface br-enp3s0f0 inet static
address 10.1.0.7/16
gateway 10.1.0.1
mtu 1500
bridge_ports enp3s0f0
auto ens2f0
iface ens2f0 inet manual
mtu 1500
iface ens2f0.10 inet manual
address 10.10.0.7/16
vlan_id 10
vlan-raw-device ens2f0
mtu 1500
auto br-ens2f0.10
iface br-ens2f0.10 inet static
address 10.10.0.7/16
mtu 1500
bridge_ports ens2f0.10
source /etc/network/
#######
VLAN works after you manually make the following changes
auto lo
iface lo inet loopback
dns-nameservers 10.1.0.2
dns-search maas
auto enp3s0f0
iface enp3s0f0 inet manual
auto br-enp3s0f0
iface br-enp3s0f0 inet static
address 10.1.0.7/16
gateway 10.1.0.1
mtu 1500
bridge_ports enp3s0f0
auto ens2f0
iface ens2f0 inet manual
mtu 1500
auto ens2f0.10
iface ens2f0.10 inet manual
address 10.10.0.7/16
vlan_id 10
vlan-raw-device ens2f0
mtu 1500
auto br-ens2f0.10
iface br-ens2f0.10 inet static
address 10.10.0.7/16
mtu 1500
bridge_ports ens2f0.10
source /etc/network/
#######
Changed in juju-core: | |
assignee: | nobody → Andrew McDermott (frobware) |
status: | New → Triaged |
importance: | Undecided → Critical |
tags: | added: network |
Changed in juju-core: | |
status: | Incomplete → Triaged |
milestone: | none → 2.0-beta12 |
Changed in juju-core: | |
status: | Triaged → In Progress |
status: | In Progress → Triaged |
Changed in juju-core: | |
status: | Invalid → Incomplete |
Changed in juju-core: | |
status: | Incomplete → In Progress |
tags: | added: blocker |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
tags: | removed: blocker |
tags: | added: 2.0 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta12 → none |
milestone: | none → 2.0-beta12 |
Changed in juju-core: | |
assignee: | nobody → Michael Foord (mfoord) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in juju-core: | |
status: | In Progress → Won't Fix |
Changed in juju-core: | |
status: | Won't Fix → Fix Released |
Please could you attach:
/etc/ network/ interfaces- before- add-juju- bridge