[Bug 2034253] Please test proposed package
Andreas Hasenack
2034253 at bugs.launchpad.net
Thu Sep 21 21:08:51 UTC 2023
Hello Ricardo, or anyone else affected,
Accepted livecd-rootfs into focal-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/livecd-
rootfs/2.664.49 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
--
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/2034253
Title:
Jammy buildd image doesn't boot because grub is installed to
\EFI\debian instead of \EFI\ubuntu
Status in cloud-images:
Confirmed
Status in cloud-images focal series:
New
Status in cloud-images jammy series:
New
Status in grub2 package in Ubuntu:
In Progress
Status in livecd-rootfs package in Ubuntu:
Invalid
Status in grub2 source package in Focal:
New
Status in livecd-rootfs source package in Focal:
Fix Committed
Status in grub2 source package in Jammy:
New
Status in livecd-rootfs source package in Jammy:
Fix Committed
Bug description:
Recent Jammy buildd images fail to boot (since at least September 1st:
https://github.com/canonical/craft-
application/actions/runs/6016993725/job/16424264050?pr=64).
Trying to run an image from https://cloud-
images.ubuntu.com/buildd/daily/jammy/current in QEMU, only gets me a
GRUB prompt. Multipass and Snapcraft consequently fail to work with
these images.
I haven't checked other image series.
This is similar to https://bugs.launchpad.net/cloud-
images/+bug/2027686, but a new issue.
SRU Template for cloud-images and livecd-rootfs (not the change for
grub2)
[ Impact ]
* snapcraft consumers daily buildd images for running snap builds. in
this case Core22 based builds will use the daily 22.04 build image. At
this time, that image drops to a grub menu. This causes snap builds to
fail by having everything hang for a long time (multipass doesn't
handle this case well, and it hangs and enters an odd state. snapcraft
then hangs, also in a bad state)
[ Test Plan ]
* build image
* boot image using qemu. example script:
qemu-system-x86_64 \
-cpu host -machine type=q35,accel=kvm -m 1024 \
-nographic \
-snapshot \
-netdev id=net00,type=user,hostfwd=tcp::2222-:22 \
-device virtio-net-pci,netdev=net00 \
-drive if=virtio,format=qcow2,file=build.output/livecd.ubuntu-base.disk-linux-virtual.img \
-cdrom <A_WORKING_CLOUD_INIT_FILE> \
-bios /usr/share/OVMF/OVMF_CODE.fd
This is very close to how multipass calls qemu under the hood.
* observe that the machine successfully boots (no grub prompt)
[ Where problems could occur ]
* for `livecd-rootfs`, images could still fail to boot, probably from an incorrect GRUB variable being written in the file.
* ensuring grub2 is updatable properly. The current known use case for buildd daily vm images is multipass, via snapcraft, so they're ephemeral. but there is nothing stopping someone from utilizing them in a longer running setup.
[ Other Info ]
* buildd images need more testing. that's on my team at this time.
it's in the backlog as an item, and we should endeavor to add it in
the next roadmap cycle.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2034253/+subscriptions
More information about the foundations-bugs
mailing list