Public bug reported:

[impact]

a bionic system with lxd installed, when upgraded to cosmic or disco
using do-release-upgrade, will attempt to convert the lxd deb into a
snap.  However, if the snapstore isn't reachable (which is a common
situation in enterprise environments, where they use local apt mirrors
and firewall internet access, or even are completely air-gapped), the
upgrade complains loudly about being unable to access the snapstore, and
the only option presented to allow install to continue is to abort lxd
upgrade, which states lxd will be unusable after the upgrade.

[test case]

see bug 1831933 for testbed setup (use a libvirt vm with nwfilter
blocking api.snapcraft.io)

in the bionic guest, make sure lxd is installed and configured.

run do-release-upgrade, which will stop at a warning prompt about lxd
upgrade not being able to reach the snapstore.

[regression potential]

TBD

[other info]

this is related to bug 1831933, but much more serious, if lxd really is
unusable after the upgrade.

** Affects: lxd (Ubuntu)
     Importance: High
         Status: New

** Affects: lxd (Ubuntu Cosmic)
     Importance: High
         Status: New

** Affects: lxd (Ubuntu Disco)
     Importance: High
         Status: New

** Affects: lxd (Ubuntu Eoan)
     Importance: High
         Status: New

** Also affects: lxd (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: lxd (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Also affects: lxd (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Changed in: lxd (Ubuntu Eoan)
   Importance: Undecided => High

** Changed in: lxd (Ubuntu Cosmic)
   Importance: Undecided => High

** Changed in: lxd (Ubuntu Disco)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834501

Title:
  do-release-upgrade from bionic->any disables lxd without snapstore
  access

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1834501/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to