[lxc-users] UPDATE FAILED - LXD - 2.3-0ubuntu3~ubuntu14.04.1

Stéphane Graber stgraber at ubuntu.com
Sat Oct 1 17:53:18 UTC 2016


On Sat, Oct 01, 2016 at 08:03:54AM -0400, Michel Dubé wrote:
> Hi,
> 
> I did an update ON a Trusty server: lxd and lxd-client
> v. 2.3-0ubuntu3~ubuntu14.04.1 OVER some version 2.2 and it failed.
> 
> Error: initctl: Unknown job: lxd
> Error: ubuntu systemctl: command not found
> 
> 
> This VM server has been installed about 9 months ago and I have had no
> problem with updates/upgrades since the beginning but today.  All the
> updates are done regurlarly. I have 2 of them, same config, one for
> testing, one on production.
> 
> Finally I tried to roll back to a previous version by getting the deb
> packages v2.2 and I did not find them. So I removed lxd and lxd-client and
> installed the previous available version (2.1) of deb packages.
> 
> And lxd then start correctly.
> 
> Is this a bug or a bad config of an old LXC/LXD system that was running
> pretty well till today?
> 
> Any Idea to solve this problem without switching to 16.04?
> 
> Thanks!
> 
> Michel

Most likely a packaging bug in the script that does bridge configuration
migration in LXD 2.3. I'll take a look at this later today or tomorrow.

You can most likely avoid this problem by moving /etc/default/lxd-bridge
out of the way and then running the upgrade again.

Though then your existing bridge will not be converted and you'll have
to define it again using the new "lxc network" commands.


Sorry about that. We did rather comprehensive testing on ubuntu 16.10
and 16.04, but clearly missed something with Ubuntu 14.04.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161001/c8f951be/attachment.sig>


More information about the lxc-users mailing list