The workaround used to fix this on OpenStack provider.
1. Add a new interface to your VM:
vi /etc/network/interfaces.d/juju-br0.cfg
# The primary network interface auto juju-br0 iface juju-br0 inet dhcp bridge_ports eth0
2. In /var/lib/lxc/juju-machine-23-lxc-0/config:
lxc.network.link = juju-br0
3. Go to your dhcp namespace (sudo ip netns exec qdhcp-b9c1579d-79e2-4215-8ba0-ee4649d9c38f bash on this machine):
3.1 Add the new entries to /var/lib/neutron/dhcp/b9c1579d-79e2-4215-8ba0-ee4649d9c38f/hosts
3.2 Restart the dnsmasq process with: kill -HUP $PID
3.3 Restart the ubuntu hosts that contain the lxcs
The workaround used to fix this on OpenStack provider.
1. Add a new interface to your VM:
vi /etc/network/ interfaces. d/juju- br0.cfg
# The primary network interface
auto juju-br0
iface juju-br0 inet dhcp
bridge_ports eth0
2. In /var/lib/ lxc/juju- machine- 23-lxc- 0/config:
lxc.network.link = juju-br0
3. Go to your dhcp namespace (sudo ip netns exec 79e2-4215- 8ba0-ee4649d9c3 8f bash on this machine):
qdhcp-b9c1579d-
3.1 Add the new entries to neutron/ dhcp/b9c1579d- 79e2-4215- 8ba0-ee4649d9c3 8f/hosts
/var/lib/
3.2 Restart the dnsmasq process with:
kill -HUP $PID
3.3 Restart the ubuntu hosts that contain the lxcs