I am confused. But maybe thats normal. Anyway, br0 gets created when you provision a bare metal using juju. Its the bridge for possible lxc containers you might want to adress when deploying charms.
But yesterday I did not know how br0 was actually put in place. I could see the config files, but not where they came from.
Know better today: found this in /var/lib/cloud/instances/node-fb671a3c-0a47-11e4-8074-5254000e3fd6/scripts/runcmd
auto br0
iface br0 inet dhcp
bridge_ports eth0
EOF
sed -i "s/iface eth0 inet dhcp/source \/etc\/network\/eth0.config/" /etc/network/interfaces
ifup br0
------------[snap]---------------
This must be coming from some juju-juju.
1. When I activate only eth0 and boot, all is fine, dhcp working
2. When I activate the br0 setup, cloud-init-nonet waits forever and gives up, although I see the dhcp requests coming in on the server and I see later that the interfaces are up and working.
Seems to me that for some reason the upstart events needed by cloud-init-nonet to stop are lost or not fired.
I am confused. But maybe thats normal. Anyway, br0 gets created when you provision a bare metal using juju. Its the bridge for possible lxc containers you might want to adress when deploying charms.
But yesterday I did not know how br0 was actually put in place. I could see the config files, but not where they came from.
Know better today: found this in /var/lib/ cloud/instances /node-fb671a3c- 0a47-11e4- 8074-5254000e3f d6/scripts/ runcmd
------- -----[snip] ------- ------- - eth0.config << EOF
ifdown eth0
cat > /etc/network/
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
EOF
sed -i "s/iface eth0 inet dhcp/source \/etc\/ network\ /eth0.config/ " /etc/network/ interfaces
ifup br0
------- -----[snap] ------- ------- -
This must be coming from some juju-juju.
1. When I activate only eth0 and boot, all is fine, dhcp working
2. When I activate the br0 setup, cloud-init-nonet waits forever and gives up, although I see the dhcp requests coming in on the server and I see later that the interfaces are up and working.
Seems to me that for some reason the upstart events needed by cloud-init-nonet to stop are lost or not fired.