juju add-machine lxc:0 fails to start lxc vm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
New
|
Undecided
|
Unassigned |
Bug Description
Very similar to bug #1246556 lxc containers broken with maas
but not the sma reason I think
Using juju 1.17.2
juju add-machine lxc:0
has the following result
machines:
"0":
agent-state: started
agent-version: 1.17.2.1
dns-name: g-l6.maas.
instance-id: /MAAS/api/
series: precise
containers:
0/lxc/0:
failed to receive response)'
series: precise
After investication I see that
/etc/lxc/
has
lxc.network.link = br0
instead of
lxc.network.link = lxcbr0
/etc/lxc/
lxc.network.link = lxcbr0
as you can see :
root@g-l6:~# lxc-ls --fancy
NAME STATE IPV4 IPV6 AUTOSTART
-------
juju-machine-
root@g-l6:~# lxc-start -n juju-machine-
lxc-start: failed to attach 'vethMYNOLA' to the bridge 'br0' : No such device
lxc-start: failed to create netdev
lxc-start: failed to create the network
lxc-start: failed to spawn 'juju-machine-
replacing br0 with lxcbr0
let the container start
Looks like it's also declared as bug #1271144