That issue appears to unrelated. I just redeployed openstack and it did not happen again.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Cheryl Jennings
Sent: Friday, February 12, 2016 10:25 AM
To: Rory Schramm
Subject: [Bug 1532167] Re: maas bridge script handles VLAN NICs incorrectly
@roryschramm - It could be related, but please open up a separate bug for it so we can track it.
Once you have the bug open, please include:
>From at least one of the machines hosting units that are waiting:
- /var/log/juju/machine-<id>.log
- /var/log/juju/unit-<id>.log
>From the bootstrap node:
- /var/log/juju/machine-0.log
Status in juju-core:
Fix Committed
Status in juju-core 1.25 series:
In Progress
Bug description:
In Juju 1.25 and master (soon to be 2.0-alpha1), but specifically
*not* in the maas-spaces branch, the add-juju-bridge.py script we use
on the MAAS provider does not render the changes to
/etc/network/interfaces correctly when multiple VLAN virtual NICs are
configured on top of one or more physical NICs.
Here's an example of /e/n/i on a KVM node deployed with MAAS 1.9rc4
through juju, before the bridge script changes it:
auto eth0
iface eth0 inet static
gateway 10.20.19.2
address 10.20.19.103/24
mtu 1500
auto eth0.100
iface eth0.100 inet static
address 10.100.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 100
auto eth0.250
iface eth0.250 inet static
address 10.250.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 250
auto eth0.50
iface eth0.50 inet static
address 10.50.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 50
dns-nameservers 10.10.19.2
dns-search maas-19
And here is how it looks like after the script:
iface eth0 inet manual
auto juju-br0
iface juju-br0 inet static
bridge_ports eth0
gateway 10.20.19.2
address 10.20.19.103/24
mtu 1500
auto juju-br0.100
iface juju-br0.100 inet static
address 10.100.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 100
auto juju-br0.250
iface juju-br0.250 inet static
address 10.250.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 250
auto juju-br0.50
iface juju-br0.50 inet static
address 10.50.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 50
dns-nameservers 10.10.19.2
dns-search maas-19
This causes errors by ifup at boot when the script is trying to
activate the modified /e/n/i (e.g. cannot add juju-br0.100 using eth0
as raw device, as eth0.100 already exists).
In comparison, here is the same /e/n/i after it got modified by the
improved bridge script in the maas-spaces feature branch:
iface eth0 inet manual
auto br-eth0
iface br-eth0 inet static
gateway 10.20.19.2
address 10.20.19.103/24
mtu 1500
bridge_ports eth0
@Cheryl
That issue appears to unrelated. I just redeployed openstack and it did not happen again.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Cheryl Jennings
Sent: Friday, February 12, 2016 10:25 AM
To: Rory Schramm
Subject: [Bug 1532167] Re: maas bridge script handles VLAN NICs incorrectly
@roryschramm - It could be related, but please open up a separate bug for it so we can track it.
Once you have the bug open, please include: juju/machine- <id>.log juju/unit- <id>.log
>From at least one of the machines hosting units that are waiting:
- /var/log/
- /var/log/
>From the bootstrap node: juju/machine- 0.log
- /var/log/
-- /bugs.launchpad .net/bugs/ 1532167
You received this bug notification because you are subscribed to a duplicate bug report (1544694).
https:/
Title:
maas bridge script handles VLAN NICs incorrectly
Status in juju-core:
Fix Committed
Status in juju-core 1.25 series:
In Progress
Bug description: network/ interfaces correctly when multiple VLAN virtual NICs are
In Juju 1.25 and master (soon to be 2.0-alpha1), but specifically
*not* in the maas-spaces branch, the add-juju-bridge.py script we use
on the MAAS provider does not render the changes to
/etc/
configured on top of one or more physical NICs.
Here's an example of /e/n/i on a KVM node deployed with MAAS 1.9rc4
through juju, before the bridge script changes it:
auto eth0
iface eth0 inet static
gateway 10.20.19.2
address 10.20.19.103/24
mtu 1500
auto eth0.100 raw-device eth0
iface eth0.100 inet static
address 10.100.19.103/24
vlan-
mtu 1500
vlan_id 100
auto eth0.250 raw-device eth0
iface eth0.250 inet static
address 10.250.19.103/24
vlan-
mtu 1500
vlan_id 250
auto eth0.50 raw-device eth0
iface eth0.50 inet static
address 10.50.19.103/24
vlan-
mtu 1500
vlan_id 50
dns-nameservers 10.10.19.2
dns-search maas-19
And here is how it looks like after the script:
iface eth0 inet manual
auto juju-br0
iface juju-br0 inet static
bridge_ports eth0
gateway 10.20.19.2
address 10.20.19.103/24
mtu 1500
auto juju-br0.100 raw-device eth0
iface juju-br0.100 inet static
address 10.100.19.103/24
vlan-
mtu 1500
vlan_id 100
auto juju-br0.250 raw-device eth0
iface juju-br0.250 inet static
address 10.250.19.103/24
vlan-
mtu 1500
vlan_id 250
auto juju-br0.50 raw-device eth0
iface juju-br0.50 inet static
address 10.50.19.103/24
vlan-
mtu 1500
vlan_id 50
dns-nameservers 10.10.19.2
dns-search maas-19
This causes errors by ifup at boot when the script is trying to
activate the modified /e/n/i (e.g. cannot add juju-br0.100 using eth0
as raw device, as eth0.100 already exists).
In comparison, here is the same /e/n/i after it got modified by the
improved bridge script in the maas-spaces feature branch:
iface eth0 inet manual
auto br-eth0
iface br-eth0 inet static
gateway 10.20.19.2
address 10.20.19.103/24
mtu 1500
bridge_ports eth0
iface eth0.100 inet manual raw-device eth0
address 10.100.19.103/24
vlan-
mtu 1500
vlan_id 100
auto br-eth0.100
iface br-eth0.100 inet static
address 10.100.19.103/24
mtu 1500
bridge_ports eth0.100
iface eth0.250 inet manual raw-device eth0
address 10.250.19.103/24
vlan-
mtu 1500
vlan_id 250
auto br-eth0.250
iface br-eth0.250 inet static
address 10.250.19.103/24
mtu 1500
bridge_ports eth0.250
iface eth0.50 inet manual raw-device eth0
address 10.50.19.103/24
vlan-
mtu 1500
vlan_id 50
auto br-eth0.50
iface br-eth0.50 inet static
address 10.50.19.103/24
mtu 1500
bridge_ports eth0.50
dns-nameservers 10.10.19.2
dns-search maas-19
The new script has an issue with multiple "dns-*" options, but I'll
file a separate bug for it.
To manage notifications about this bug go to: /bugs.launchpad .net/juju- core/+bug/ 1532167/ +subscriptions
https:/