[Bug 2036725] Re: LXD snap not being installed from the right channel when running unminimize

Utkarsh Gupta 2036725 at bugs.launchpad.net
Fri Nov 10 10:36:00 UTC 2023


** Description changed:

+ [Impact]
+ ========
+ 
+ There's a step in `unminimize` where it installs the LXD snap. The
+ problem is that it doesn't mention any channel where to install it from.
+ So often it happens that we have the LXD snap on 20.04 or 22.04 from the
+ latest/stable channel (as that's the default!).
+ 
+ However, we should be installing this from stable/ubuntu-20.04 or
+ stable/ubuntu-22.04 (or equivalent) channel.
+ 
+ [Test Plan]
+ ===========
+ 
+ [Where Problems Could Occur]
+ =============================
+ 
+ [OG Bug Report]
+ ===============
+ 
  In the past, when running unminimize, we'd directly do:
  snap install lxd
  (cf: https://git.launchpad.net/livecd-rootfs/tree/live-build/auto/build#n303)
  
  which defaults to the latest/stable channel. However, whilst working on
  enhancing unminimize, it was observed that we install this snap from the
  stable/ubuntu-<version> channel instead.
  
  This was also noted as a failure when running the CTF tests:
  `lxd installed from latest/stable, not stable/ubuntu-23.10`

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

Title:
  LXD snap not being installed from the right channel when running
  unminimize

Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Jammy:
  Incomplete
Status in livecd-rootfs source package in Lunar:
  Incomplete

Bug description:
  [Impact]
  ========

  There's a step in `unminimize` where it installs the LXD snap. The
  problem is that it doesn't mention any channel where to install it
  from. So often it happens that we have the LXD snap on 20.04 or 22.04
  from the latest/stable channel (as that's the default!).

  However, we should be installing this from stable/ubuntu-20.04 or
  stable/ubuntu-22.04 (or equivalent) channel.

  [Test Plan]
  ===========

  [Where Problems Could Occur]
  =============================

  [OG Bug Report]
  ===============

  In the past, when running unminimize, we'd directly do:
  snap install lxd
  (cf: https://git.launchpad.net/livecd-rootfs/tree/live-build/auto/build#n303)

  which defaults to the latest/stable channel. However, whilst working
  on enhancing unminimize, it was observed that we install this snap
  from the stable/ubuntu-<version> channel instead.

  This was also noted as a failure when running the CTF tests:
  `lxd installed from latest/stable, not stable/ubuntu-23.10`

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2036725/+subscriptions




More information about the foundations-bugs mailing list