[Bug 2057888] Re: Private store may not contain lxd snap

Launchpad Bug Tracker 2057888 at bugs.launchpad.net
Tue Jun 11 04:17:14 UTC 2024


[Expired for Ubuntu Image because there has been no activity for 60
days.]

** Changed in: ubuntu-image
       Status: Incomplete => Expired

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

Title:
  Private store may not contain lxd snap

Status in Ubuntu Image:
  Expired

Bug description:
  Hi,

  I defined core22 and snapd in extra-snaps, but the ubuntu-image 3.x
  will also try to download lxd snap after downloaded core22 and snapd,
  and lxd is actually not included in the private store

  If I understand correctly, in internal/statemachine/classic_states.go,
  the function prepareClassicImage will try to check the file called
  var/lib/snapd/state.json, and tries to preseed the snaps defined in
  that file afterwards. However, lxd snap may not be included in private
  store, then it will fail to preseed the snap.

  Previously in ubuntu-image 2.x, we leveraged the
  commit(https://git.launchpad.net/livecd-rootfs/commit/live-
  build/functions?id=b43e3b84f4c9100379f4686f80699929c7657056) from
  foundation team, I don't know if this mechanism should be integrated
  into ubuntu-image 3.x as well? Or maybe we can have a flag to skip
  checking var/lib/snapd/state.json?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/2057888/+subscriptions




More information about the foundations-bugs mailing list