Thanks, this set me on the right path.

In 2 of my profiles I needed to replace:

raw.lxc: lxc.aa_allow_incomplete=1

with:

raw.lxc: lxc.apparmor.allow_incomplete=1

I also had to loop through all of my containers and add:

pool: default

To the root disk.

After that, the upgrade completed successfully but with some odd output
that I'm not too concerned about for now.

Processing triggers for libc-bin (2.27-3ubuntu1) ...
W: APT had planned for dpkg to do more than it reported back (0 vs 4).
   Affected packages: lxd:amd64


Thanks,
Pete

On Sat, Apr 21, 2018 at 5:16 PM, Stéphane Graber <stgra...@ubuntu.com>
wrote:

> On Sat, Apr 21, 2018 at 03:24:52PM -0400, Pete Osborne wrote:
> > Hi Folks,
> >
> > I decided to upgrade my 16.04 LTS system to 18.04 LTS today and when
> > upgrading LXD I'm seeing the following:
> >
> > Setting up lxd (3.0.0-0ubuntu4) ...
> > Old bridge configuration detected in /etc/default/lxd-bridge, upgrading
> > Unsetting deprecated profile options
> > Error: The following containers failed to update (profile change still
> > saved):
> >  - xps-container1: Failed to load raw.lxc
> >
> > dpkg: error processing package lxd (--configure):
> >  installed lxd package post-installation script subprocess returned error
> > exit status 1
> > Errors were encountered while processing:
> >  lxd
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> >
> > Can someone point me in a direction to remediate the issue,
> >
> > Thanks,
> > Pete
>
> This suggests that your xps-container1 container or one of your profiles
> is using raw.lxc to directly set LXC configuration keys. One of those
> configuration key must be deprecated or renamed in liblxc 3.0 causing
> the problem.
>
> To fix this, you should edit your raw.lxc to use the appropriate liblxc
> config key and then re-run the upgrade.
>
>
> --
> Stéphane Graber
> Ubuntu developer
> http://www.ubuntu.com
>
> _______________________________________________
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to