Juju makes wrong network configuration when adding physical machine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
High
|
Unassigned |
Bug Description
Juju makes wrong network configuration as follow when adding physical machine.
auto lo
iface lo inet loopback
dns-nameservers 10.10.200.2
dns-search example.com
iface eth0 inet manual
auto juju-br0
iface juju-br0 inet static
bridge_ports eth0
gateway 10.10.200.1
address 10.10.200.3/24
mtu 1500
auto juju-br0.101
iface juju-br0.101 inet static
address 192.168.101.3/24
vlan-raw-device eth0
mtu 9000
vlan_id 101
auto juju-br0.102
iface juju-br0.102 inet static
address 192.168.102.3/24
vlan-raw-device eth0
mtu 9000
vlan_id 102
auto juju-br0.232
iface juju-br0.232 inet manual
vlan-raw-device eth0
mtu 9000
vlan_id 232
I think on the 'eth0' interface, there should be 'auto eth0' so that 'eth0' can be up automatically when the machine starts.
For 'vlan-raw-device', it should be 'juju-br0' not 'eth0' since each of vlan interfaces is from 'juju-br0'.
So I modified the configuration as follow and it works well for me.
(I do not mention about the MTU problem here because it is already reported by others.)
auto lo
iface lo inet loopback
dns-nameservers 10.10.200.2
dns-search example.com
auto eth0
iface eth0 inet manual
mtu 9000
auto juju-br0
iface juju-br0 inet static
bridge_ports eth0
gateway 10.10.200.1
address 10.10.200.5/24
mtu 9000
auto juju-br0.101
iface juju-br0.101 inet static
address 192.168.101.5/24
vlan-raw-device juju-br0
mtu 9000
vlan_id 101
auto juju-br0.102
iface juju-br0.102 inet static
address 192.168.102.5/24
vlan-raw-device juju-br0
mtu 9000
vlan_id 102
auto juju-br0.232
iface juju-br0.232 inet manual
vlan-raw-device juju-br0
mtu 9000
vlan_id 232
$ dpkg -l | egrep -i 'maas|juju'
ii juju-core 1.25.3-
ii maas 1.9.1+bzr4543-
ii maas-cli 1.9.1+bzr4543-
ii maas-cluster-
ii maas-common 1.9.1+bzr4543-
ii maas-dhcp 1.9.1+bzr4543-
ii maas-dns 1.9.1+bzr4543-
ii maas-proxy 1.9.1+bzr4543-
ii maas-region-
ii maas-region-
ii python-django-maas 1.9.1+bzr4543-
ii python-maas-client 1.9.1+bzr4543-
ii python-
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | none → 2.1.0 |
Please could you attach all /etc/network/ interfaces* files. Directories too. Thanks.