Activity log for bug #1929860

Date Who What changed Old value New value Message
2021-05-27 18:49:37 Francis Ginther bug added bug
2021-05-27 18:50:56 Francis Ginther affects ec2-hibinit-agent (Ubuntu) grub2 (Ubuntu)
2021-05-27 18:58:42 Guilherme G. Piccoli bug added subscriber Guilherme G. Piccoli
2021-05-27 18:58:46 Joshua Powers bug added subscriber Joshua Powers
2021-05-28 19:33:51 Terry Rudd bug added subscriber Terry Rudd
2021-06-01 15:00:09 Matthieu Clemenceau tags rls-ii-incomings
2021-06-01 19:36:11 Matthieu Clemenceau tags rls-ii-incomings fr-1421 rls-ii-incomings
2021-07-15 15:57:37 Dimitri John Ledkov grub2 (Ubuntu): status New In Progress
2021-07-15 15:57:39 Dimitri John Ledkov grub2 (Ubuntu): importance Undecided Critical
2021-07-16 10:55:00 Launchpad Janitor merge proposal linked https://code.launchpad.net/~xnox/grub/+git/grub/+merge/405806
2021-07-20 17:54:35 Launchpad Janitor grub2 (Ubuntu): status In Progress Fix Released
2021-07-26 15:38:21 Brian Murray nominated for series Ubuntu Focal
2021-07-26 15:38:21 Brian Murray bug task added grub2 (Ubuntu Focal)
2021-07-26 15:38:32 Brian Murray grub2 (Ubuntu Focal): status New Triaged
2021-08-11 14:05:49 Łukasz Zemczak grub2 (Ubuntu Focal): milestone ubuntu-20.04.3
2021-08-12 09:22:50 Launchpad Janitor merge proposal linked https://code.launchpad.net/~ubuntu-core-dev/grub/+git/ubuntu/+merge/407003
2021-08-12 09:39:12 Julian Andres Klode description Ubuntu Focal (and new releases) on AWS will normally boot without an initrd image (just the microcode.cpio). There is a fallback mechanism to reboot with the full initrd image when the boot fails to complete. The grub environment variable "initrdfail" is used to track when a boot failed and switch between the optimized initrd-less boot path and the full initrd path. On a normal successful boot, the "initrdfail" variable is cleared by grub-initrd-fallback.service. However, this doesn't happen when resuming from hibernation. As a result, the initrd fallback will get triggered on the second hibernation / resume cycle despite the original boot using only the microcode.cpio. This switch in initrd images leads to the second resume hanging. We've been able to successfully avoid this issue by adding the following to the ec2-hibinit-agent resume handler: /usr/bin/grub-editenv - unset initrdfail /usr/bin/grub-editenv - unset recordfail (Note: clearing recordfail may not be necessary, will need to try again without it.) This bug was filed against grub2 as it appears to own initrdfail. [Impact] Ubuntu Focal (and new releases) on AWS will normally boot without an initrd image (just the microcode.cpio). There is a fallback mechanism to reboot with the full initrd image when the boot fails to complete. The grub environment variable "initrdfail" is used to track when a boot failed and switch between the optimized initrd-less boot path and the full initrd path. On a normal successful boot, the "initrdfail" variable is cleared by grub-initrd-fallback.service. However, this doesn't happen when resuming from hibernation. As a result, the initrd fallback will get triggered on the second hibernation / resume cycle despite the original boot using only the microcode.cpio. This switch in initrd images leads to the second resume hanging. We've been able to successfully avoid this issue by adding the following to the ec2-hibinit-agent resume handler: /usr/bin/grub-editenv - unset initrdfail /usr/bin/grub-editenv - unset recordfail (Note: clearing recordfail may not be necessary, will need to try again without it.) This bug was filed against grub2 as it appears to own initrdfail. [Test plan] TBD w/ CPC [Regression potential] Services get changed to oneshot, and wantedby=multi-user sleep; maybe we miss other places it should run, or record the wrong thing on resume?
2021-08-13 10:27:21 Łukasz Zemczak grub2 (Ubuntu Focal): status Triaged Fix Committed
2021-08-13 10:27:22 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2021-08-13 10:27:24 Łukasz Zemczak bug added subscriber SRU Verification
2021-08-13 10:27:27 Łukasz Zemczak tags fr-1421 rls-ii-incomings fr-1421 rls-ii-incomings verification-needed verification-needed-focal
2021-08-18 15:56:10 Joshua Powers removed subscriber Joshua Powers
2021-08-18 19:23:32 Francis Ginther tags fr-1421 rls-ii-incomings verification-needed verification-needed-focal fr-1421 rls-ii-incomings verification-done-focal verification-needed
2021-08-19 08:51:22 Launchpad Janitor grub2 (Ubuntu Focal): status Fix Committed Fix Released
2021-08-19 08:51:34 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2021-08-19 14:41:35 Julian Andres Klode nominated for series Ubuntu Bionic
2021-08-19 14:41:35 Julian Andres Klode bug task added grub2 (Ubuntu Bionic)
2021-09-29 10:51:59 Launchpad Janitor merge proposal linked https://code.launchpad.net/~juliank/grub/+git/bionic/+merge/409351
2021-09-29 10:54:24 Launchpad Janitor merge proposal unlinked https://code.launchpad.net/~juliank/grub/+git/bionic/+merge/409351
2021-09-29 10:55:07 Launchpad Janitor merge proposal linked https://code.launchpad.net/~juliank/grub/+git/bionic/+merge/409352
2021-10-08 10:48:43 Launchpad Janitor merge proposal linked https://code.launchpad.net/~beidl/grub/+git/ubuntu/+merge/409919
2021-10-14 13:53:01 Julian Andres Klode grub2 (Ubuntu Bionic): status New In Progress
2022-09-11 23:54:59 Matthieu Clemenceau tags fr-1421 rls-ii-incomings verification-done-focal verification-needed foundations-todo fr-1421 rls-ii-incomings verification-done-focal verification-needed
2022-09-11 23:55:55 Matthieu Clemenceau bug added subscriber Ubuntu Foundations Team
2022-09-15 15:40:52 Matthieu Clemenceau removed subscriber Ubuntu Foundations Team
2022-09-15 15:41:00 Matthieu Clemenceau bug added subscriber Ubuntu Foundations Bugs
2022-09-24 17:36:01 Matthieu Clemenceau tags foundations-todo fr-1421 rls-ii-incomings verification-done-focal verification-needed foundations-todo rls-ii-incomings verification-done-focal verification-needed
2022-11-07 15:12:10 Julian Andres Klode grub2 (Ubuntu Bionic): assignee Julian Andres Klode (juliank)
2022-11-17 16:23:13 Julian Andres Klode tags foundations-todo rls-ii-incomings verification-done-focal verification-needed rls-ii-incomings verification-done-focal verification-needed