[Bug 2044185] Re: lxd-installer install lxd from appropriate channel

John Chittum 2044185 at bugs.launchpad.net
Tue Nov 21 21:15:22 UTC 2023


** Description changed:

  The fix in LP:2043843 put noble into the 6.0 channel. It also didn't
  catch cases for Lunar and Mantic, which are still supported.
  
  For non-ESM suites, the following is channel tracking:
  
  mantic: latest/stable/ubuntu-23.10
  lunar: latest/stable/ubuntu-23.04
  jammy: 5.0/stable/ubuntu-22.04
  focal: 4.0/stable/ubuntu-22.04
  
  before final freeze, and a final decision on a specific version, LXD can
  track `latest/stable/ubuntu-${VERSION_ID}`. Afterwards, it can be set to
- track an LTS LXD versionm, or whatever the LXD team sets.
+ track an LTS LXD version, or whatever the LXD team sets.
+ 
+ ############
+ SRU TEMPLATE
+ ############
+ 
+ [ Impact ]
+ 
+  * With the fix in lp:2043843 users on mantic and lunar are not properly covered. 
+  * SRUs the full fix to mantic/lunar/jammy/focal where now users are installing `latest/stable` and not a matching `ubuntu-${VERSION_ID}` branch (as per the snap preseeding rules)
+ 
+ [ Test Plan ]
+ 
+  * launch a minimal lxc image for each suite being SRU'd
+     * lxc launch --vm ubuntu-minimal:$SUITE
+     * you may need to enable the minimal remote
+ | ubuntu-minimal       | https://cloud-images.ubuntu.com/minimal/releases/ 
+  * install the proposed lxd-installer package from proposed
+  * run `lxd launch ubuntu:${SUITE}` (easiest to match $SUITE)
+  * check  snap channel tracking `snap info lxd` (`tracking` is the key)
+ 
+ [ Where problems could occur ]
+ 
+  * For current users, this will be a change in behaviour. If they have been running lxd on minimal on Jammy or Focal, they'll notice very different versions being installed (5.0 and 4.0 LTS lxd versions)
+  * If there is no snap channel open for latest/stable/ubuntu-${VERSION_ID} this script will fail.
+   * it may be nice to have a fallback on failure to `latest/stable`. This is the same as current implementation. This can be added if the SRU team feels that catch is required. _however_ it is expected on Suite Open for pre-seeded snaps to create their channels.
+ 
+ [ Other Info ]
+  
+  *

-- 
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/2044185

Title:
  lxd-installer install lxd from appropriate channel

Status in lxd-installer package in Ubuntu:
  New

Bug description:
  The fix in LP:2043843 put noble into the 6.0 channel. It also didn't
  catch cases for Lunar and Mantic, which are still supported.

  For non-ESM suites, the following is channel tracking:

  mantic: latest/stable/ubuntu-23.10
  lunar: latest/stable/ubuntu-23.04
  jammy: 5.0/stable/ubuntu-22.04
  focal: 4.0/stable/ubuntu-22.04

  before final freeze, and a final decision on a specific version, LXD
  can track `latest/stable/ubuntu-${VERSION_ID}`. Afterwards, it can be
  set to track an LTS LXD version, or whatever the LXD team sets.

  ############
  SRU TEMPLATE
  ############

  [ Impact ]

   * With the fix in lp:2043843 users on mantic and lunar are not properly covered. 
   * SRUs the full fix to mantic/lunar/jammy/focal where now users are installing `latest/stable` and not a matching `ubuntu-${VERSION_ID}` branch (as per the snap preseeding rules)

  [ Test Plan ]

   * launch a minimal lxc image for each suite being SRU'd
      * lxc launch --vm ubuntu-minimal:$SUITE
      * you may need to enable the minimal remote
  | ubuntu-minimal       | https://cloud-images.ubuntu.com/minimal/releases/ 
   * install the proposed lxd-installer package from proposed
   * run `lxd launch ubuntu:${SUITE}` (easiest to match $SUITE)
   * check  snap channel tracking `snap info lxd` (`tracking` is the key)

  [ Where problems could occur ]

   * For current users, this will be a change in behaviour. If they have been running lxd on minimal on Jammy or Focal, they'll notice very different versions being installed (5.0 and 4.0 LTS lxd versions)
   * If there is no snap channel open for latest/stable/ubuntu-${VERSION_ID} this script will fail.
    * it may be nice to have a fallback on failure to `latest/stable`. This is the same as current implementation. This can be added if the SRU team feels that catch is required. _however_ it is expected on Suite Open for pre-seeded snaps to create their channels.

  [ Other Info ]
   
   *

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




More information about the foundations-bugs mailing list