Note that I'm not pushing for an impish version of this change as this
package in impish is unused.

The transitional "lxd" package is only relevant when upgrading from a
pre-snap system which is only possible when upgrading from bionic to
focal. The package has now been removed entirely from jammy, something
we should have done a few releases ago.

** Description changed:

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

** Changed in: lxd (Ubuntu)
       Status: New => Fix Committed

** Changed in: lxd (Ubuntu)
       Status: Fix Committed => In Progress

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

Title:
  Disable "latest" as upgrade option on focal

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to