Activity log for bug #1964833

Date Who What changed Old value New value Message
2022-03-14 21:50:06 Stéphane Graber bug added bug
2022-03-14 21:55:10 Stéphane Graber description The "lxd" transitional deb-to-snap package currently offers "3.0", "4.0" and "latest" as track options with "4.0" being the recommended and default one. Starting with LXD 5.0, it will no longer be possible to upgrade from LXD 3.0 without first going through LXD 4.0. As a result, the deb-to-snap logic in focal should be updated to remove "latest" as an option. Instead users will have to pick between "3.0" or "4.0" and can then upgrade afterwards by switching snap track. The impact from this should be minimal as most users have already gone through this process and those who haven't are likely to go with the default option anyway (4.0). The "lxd" transitional deb-to-snap package currently offers "3.0", "4.0" and "latest" as track options with "4.0" being the recommended and default one. Starting with LXD 5.0, it will no longer be possible to upgrade from LXD 3.0 without first going through LXD 4.0. As a result, the deb-to-snap logic in focal should be updated to remove "latest" as an option. Instead users will have to pick between "3.0" or "4.0" and can then upgrade afterwards by switching snap track. The impact from this should be minimal as most users have already gone through this process and those who haven't are likely to go with the default option anyway (4.0). [Impact] LXD 5.0 (to be released end of March) will break the upgrade path when coming from a release prior to 4.0.0. The deb-to-snap logic in Ubuntu 20.04 currently offers "latest" as a track for users switching to the snap (from 3.0 deb). This option will start breaking once 5.0 is released and should be removed from the upgrader prior to that. The users will lose the option to go straight to "latest" during the deb-to-snap process instead being pushed towards "4.0" which they can then upgrade from after the fact using "snap refresh". The "4.0" track was already the default and used by virtually all users to date, so the change is unlikely to be particularly visible. [Test plan] Get an Ubuntu 18.04 system, run "lxd init --auto" to initialize LXD, then upgrade to 20.04 and confirm that the debconf prompt defaults to "4.0" and does not offer "latest" as a track option. [Where problems could occur] If this SRU isn't in focal-updates by the time LXD 5.0 releases to latest/stable (first week of April), some users may chose "latest" during the upgrade which will fail and fail the LTS-to-LTS process giving them a hard to recover system.
2022-03-14 21:56:42 Stéphane Graber lxd (Ubuntu): status New Fix Committed
2022-03-14 21:57:11 Stéphane Graber lxd (Ubuntu): status Fix Committed In Progress
2022-03-14 23:41:46 Chris Halse Rogers lxd (Ubuntu Focal): status New Fix Committed
2022-03-14 23:41:48 Chris Halse Rogers bug added subscriber Ubuntu Stable Release Updates Team
2022-03-14 23:41:49 Chris Halse Rogers bug added subscriber SRU Verification
2022-03-14 23:41:53 Chris Halse Rogers tags verification-needed verification-needed-focal
2022-03-23 02:06:40 Stéphane Graber tags verification-needed verification-needed-focal verification-done-focal verification-needed
2022-03-30 00:39:36 Launchpad Janitor lxd (Ubuntu Focal): status Fix Committed Fix Released
2022-03-30 00:39:47 Stéphane Graber removed subscriber Ubuntu Stable Release Updates Team
2022-04-21 16:16:45 Stéphane Graber lxd (Ubuntu): status In Progress Fix Released