[Bug 2043843] [NEW] lxd-installer installs the LXD snap from the stable channel

Simon Déziel 2043843 at bugs.launchpad.net
Fri Nov 17 19:40:55 UTC 2023


Public bug reported:

When LXD's snap was shipped in Cloud images, it used the LTS channel
associated with the Ubuntu LTS version (4.0/stable for Focal, 5.0 for
Jammy, etc).

Now with lxd-installer, calling `lxc`/`lxd` result in a `snap install
lxd` which pulls from the `stable` channel:

$ lxc launch ubuntu-minimal-daily:j j-test --ephemeral --vm
$ lxc shell j-test
root at j-test:~# lxc ls
If this is your first time running LXD on this machine, you should also run: lxd init
To start your first container, try: lxc launch ubuntu:22.04
Or for a virtual machine: lxc launch ubuntu:22.04 --vm
root at j-test:~# snap list lxd
Name  Version       Rev    Tracking       Publisher   Notes
lxd   5.19-31ff7b6  26093  latest/stable  canonical✓  -

The `stable` channels contains monthly feature releases instead of an
LTS, see
https://documentation.ubuntu.com/lxd/en/latest/explanation/security/#supported-
versions for the distinction. Ideally, proper LTS channel should be used
for each Ubuntu LTS version.

** Affects: lxd-installer (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  lxd-installer installs the LXD snap from the stable channel

Status in lxd-installer package in Ubuntu:
  New

Bug description:
  When LXD's snap was shipped in Cloud images, it used the LTS channel
  associated with the Ubuntu LTS version (4.0/stable for Focal, 5.0 for
  Jammy, etc).

  Now with lxd-installer, calling `lxc`/`lxd` result in a `snap install
  lxd` which pulls from the `stable` channel:

  $ lxc launch ubuntu-minimal-daily:j j-test --ephemeral --vm
  $ lxc shell j-test
  root at j-test:~# lxc ls
  If this is your first time running LXD on this machine, you should also run: lxd init
  To start your first container, try: lxc launch ubuntu:22.04
  Or for a virtual machine: lxc launch ubuntu:22.04 --vm
  root at j-test:~# snap list lxd
  Name  Version       Rev    Tracking       Publisher   Notes
  lxd   5.19-31ff7b6  26093  latest/stable  canonical✓  -

  The `stable` channels contains monthly feature releases instead of an
  LTS, see
  https://documentation.ubuntu.com/lxd/en/latest/explanation/security/#supported-
  versions for the distinction. Ideally, proper LTS channel should be
  used for each Ubuntu LTS version.

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




More information about the foundations-bugs mailing list