[Bug 2049723] Re: ubuntu-server ftbfs in jammy with livecd-rootfs 2.765.34

Steve Langasek 2049723 at bugs.launchpad.net
Fri Feb 2 07:34:26 UTC 2024


** Description changed:

  [Impact]
  ========
  
- There's a step in the `ubutu-server` `live` image builds which call
+ There's a step in the `ubuntu-server` `live` image builds which call
  `unminimize`.
  
  With changes introduced in LP: #2036725 `unminimize` now calls `lxd`
  which on a minimized build/instance will install the lxd snap using the
  logic in the `lxd` shim from lxd-installer. Previously `unminimize` used `snap`
  directly to install the `lxd` snap and `ubutu-server` `live` image builds diverted `snap` to allow for calling `unminimize` without the snap install step.
  
  This change breaks the `ubuntu-server` `live` image builds.
  
  [Test Plan]
  ===========
  
  1. Test build of ubuntu-server images with PROPOSED=1 enabled succeed
  (they have currently been failing for > 1 week)
  
  [Where Problems Could Occur]
  =============================
  
  One change we do not want is that the lxd snap is not installed at the
  stage of calling `unminimize`. We need to ensure this is not the case.
  
  [OG Bug Report]
  ===============
  
  NEEDRESTART-VER: 3.5
  Invoking LXD so that it can be installed by the lxd-installer's script..
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
  FileNotFoundError: [Errno 2] No such file or directory
  /sbin/lxd: 6: exec: /snap/bin/lxd: not found
  E: config/hooks/01-unminimize.chroot_early failed (exit non-zero). You should check for errors.
  P: Begin unmounting filesystems...
  
  https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/jammy/ubuntu-
  server-live/+build/566145
  
  This is an unminimized image build.
  
  The change that broke this was introduced for LP: #2036725.

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

Title:
  ubuntu-server ftbfs in jammy with livecd-rootfs 2.765.34

Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Jammy:
  Fix Committed
Status in livecd-rootfs source package in Mantic:
  Won't Fix
Status in livecd-rootfs source package in Noble:
  Fix Released

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

  There's a step in the `ubuntu-server` `live` image builds which call
  `unminimize`.

  With changes introduced in LP: #2036725 `unminimize` now calls `lxd`
  which on a minimized build/instance will install the lxd snap using the
  logic in the `lxd` shim from lxd-installer. Previously `unminimize` used `snap`
  directly to install the `lxd` snap and `ubutu-server` `live` image builds diverted `snap` to allow for calling `unminimize` without the snap install step.

  This change breaks the `ubuntu-server` `live` image builds.

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

  1. Test build of ubuntu-server images with PROPOSED=1 enabled succeed
  (they have currently been failing for > 1 week)

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

  One change we do not want is that the lxd snap is not installed at the
  stage of calling `unminimize`. We need to ensure this is not the case.

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

  NEEDRESTART-VER: 3.5
  Invoking LXD so that it can be installed by the lxd-installer's script..
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
  FileNotFoundError: [Errno 2] No such file or directory
  /sbin/lxd: 6: exec: /snap/bin/lxd: not found
  E: config/hooks/01-unminimize.chroot_early failed (exit non-zero). You should check for errors.
  P: Begin unmounting filesystems...

  https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/jammy/ubuntu-
  server-live/+build/566145

  This is an unminimized image build.

  The change that broke this was introduced for LP: #2036725.

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




More information about the foundations-bugs mailing list