juju deploy for lxd 2.0.x will fail with no config file found at /etc/default/lxd-bridge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Simon Richardson |
Bug Description
When using lxd 2.0.x that doesn't support api network extensions, the latest juju will fail because it can't find the configuration file inside the container. Also note, the error message for this isn't ideal, in the fact the user can't actually do anything about this. Instead this is just juju not creating the file in the right location.
ERROR new environ: profile "default": no config file found at /etc/default/
It looks like your LXD bridge has not yet been configured. Configure it via:
sudo dpkg-reconfigure -p medium lxd
and run the command again.
2018-08-23 15:37:56 DEBUG cmd supercommand.go:459 error stack:
/home/simon/
It looks like your LXD bridge has not yet been configured. Configure it via:
sudo dpkg-reconfigure -p medium lxd
and run the command again.
/home/simon/
/home/simon/
/home/simon/
/home/simon/
/home/simon/
/home/simon/
/home/simon/
2018-08-23 15:37:56 DEBUG juju.cmd.jujud main.go:196 jujud complete, code 0, err <nil>
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
We're missing the following in the latest juju https:/ /github. com/juju/ juju/blob/ 2.2/container/ lxd/initialisat ion_linux. go#L179