Comment 0 for bug 1834501

Revision history for this message
Dan Streetman (ddstreet) wrote :

[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.