Comment 0 for bug 1685782

Revision history for this message
james beedy (jamesbeedy) wrote : juju deployed LXD inherit constraints from the host causing lxd to fail

As of 2.1.2, my lxd instances fail to deploy when the 'spaces' constraint is supplied for the host.

This is critical because it puts a dead stop to anything being deployed to lxd on a host that uses the spaces constraint after 2.1.2.

To reproduce:

$ juju deploy ubuntu --constraints "spaces=myspace" # gets id 0

$ juju deploy ubuntu ubuntu-lxd --to lxd:0

The ubuntu-lxd deploy will absolutely fail with the lxd showing a "down" status, and message "unable to find host bridge for space(s) "myspace" for container".

Juju 2.1.2 (Fail) - http://paste.ubuntu.com/24427794/

Juju 2.0.3 (Working) - http://paste.ubuntu.com/24427822/