Activity log for bug #2013336

Date Who What changed Old value New value Message
2023-03-30 11:56:26 Alberto Contreras bug added bug
2023-03-30 12:02:42 Alberto Contreras hibagent (Ubuntu): status New Fix Released
2023-03-30 12:03:24 Alberto Contreras nominated for series Ubuntu Jammy
2023-03-30 12:03:24 Alberto Contreras bug task added hibagent (Ubuntu Jammy)
2023-03-30 12:03:24 Alberto Contreras nominated for series Ubuntu Kinetic
2023-03-30 12:03:24 Alberto Contreras bug task added hibagent (Ubuntu Kinetic)
2023-03-30 12:03:24 Alberto Contreras nominated for series Ubuntu Focal
2023-03-30 12:03:24 Alberto Contreras bug task added hibagent (Ubuntu Focal)
2023-03-30 13:34:01 Alberto Contreras description The agent fails to initialize the swap when /boot/grub/menu.lst is not present. That file is related to GRUB and is not needed on systems with GRUB2 installed. # /usr/bin/enable-ec2-spot-hibernation # journalctl -u hibagent ... Mar 30 10:51:10 ip-172-31-34-23 /hibagent[615]: Failed to initialize swap, reason: [Errno 2] No such file or directory: '/boot/grub/menu.lst' Mar 30 10:51:11 ip-172-31-34-23 /hibagent[615]: Background swap initialization thread is complete. I expected the agent to not require config files of older grub versions to be present to correctly configure the system for hibernation. [ Impact ] * This bug prevents the agent to correctly set up instances for hibernation. It disallows AWS to hibernate spot instances. [ Test Plan ] * Spin up a EC2 normal instance with enough disk space to hibernate. The hibernation on stop instances cannot be controlled by the user but we can reproduce the workflow in a normal instance: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernate-spot-instances.html * sudo apt-get install hibagent * sudo /usr/bin/enable-ec2-spot-hibernation * `journalctl -u hibagent | grep 'Errno'` will show: Failed to initialize swap, reason: [Errno 2] No such file or directory: '/boot/grub/menu.lst' * And no swap is configured in the system [ Where problems could occur ] * On affected releases, hibagent modifies config files for both GRUB and GRUB2. The upstream patch only modifies the GRUB config file if it is present. Thus, if there is a regression it would affect releases with GRUB, but we are going to include it in series that ship with GRUB2. [ Other Info ] * Bionic ships GRUB2 but the images contain the old and not needed /boot/grub/menu.lst . CPC has confirmed that there are no plans to remove that file as that would constitute a breaking change for an LTS. That's why this bug does not affect bionic. [Original Description] The agent fails to initialize the swap when /boot/grub/menu.lst is not present. That file is related to GRUB and is not needed on systems with GRUB2 installed. # /usr/bin/enable-ec2-spot-hibernation # journalctl -u hibagent ... Mar 30 10:51:10 ip-172-31-34-23 /hibagent[615]: Failed to initialize swap, reason: [Errno 2] No such file or directory: '/boot/grub/menu.lst' Mar 30 10:51:11 ip-172-31-34-23 /hibagent[615]: Background swap initialization thread is complete. I expected the agent to not require config files of older grub versions to be present to correctly configure the system for hibernation.
2023-03-31 07:03:31 Alberto Contreras merge proposal linked https://code.launchpad.net/~aciba/ubuntu/+source/hibagent/+git/hibagent/+merge/439728
2023-03-31 07:10:22 Alberto Contreras hibagent (Ubuntu Kinetic): assignee Alberto Contreras (aciba)
2023-03-31 07:12:09 Alberto Contreras hibagent (Ubuntu Jammy): assignee Alberto Contreras (aciba)
2023-03-31 09:24:13 Alberto Contreras merge proposal linked https://code.launchpad.net/~aciba/ubuntu/+source/hibagent/+git/hibagent/+merge/440121
2023-03-31 09:28:24 Alberto Contreras hibagent (Ubuntu Focal): assignee Alberto Contreras (aciba)
2023-03-31 09:30:23 Alberto Contreras merge proposal linked https://code.launchpad.net/~aciba/ubuntu/+source/hibagent/+git/hibagent/+merge/440122
2023-04-25 10:16:54 Alberto Contreras description [ Impact ] * This bug prevents the agent to correctly set up instances for hibernation. It disallows AWS to hibernate spot instances. [ Test Plan ] * Spin up a EC2 normal instance with enough disk space to hibernate. The hibernation on stop instances cannot be controlled by the user but we can reproduce the workflow in a normal instance: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernate-spot-instances.html * sudo apt-get install hibagent * sudo /usr/bin/enable-ec2-spot-hibernation * `journalctl -u hibagent | grep 'Errno'` will show: Failed to initialize swap, reason: [Errno 2] No such file or directory: '/boot/grub/menu.lst' * And no swap is configured in the system [ Where problems could occur ] * On affected releases, hibagent modifies config files for both GRUB and GRUB2. The upstream patch only modifies the GRUB config file if it is present. Thus, if there is a regression it would affect releases with GRUB, but we are going to include it in series that ship with GRUB2. [ Other Info ] * Bionic ships GRUB2 but the images contain the old and not needed /boot/grub/menu.lst . CPC has confirmed that there are no plans to remove that file as that would constitute a breaking change for an LTS. That's why this bug does not affect bionic. [Original Description] The agent fails to initialize the swap when /boot/grub/menu.lst is not present. That file is related to GRUB and is not needed on systems with GRUB2 installed. # /usr/bin/enable-ec2-spot-hibernation # journalctl -u hibagent ... Mar 30 10:51:10 ip-172-31-34-23 /hibagent[615]: Failed to initialize swap, reason: [Errno 2] No such file or directory: '/boot/grub/menu.lst' Mar 30 10:51:11 ip-172-31-34-23 /hibagent[615]: Background swap initialization thread is complete. I expected the agent to not require config files of older grub versions to be present to correctly configure the system for hibernation. [ Impact ]  * This bug prevents the agent to correctly set up instances    for hibernation. It disallows AWS to hibernate spot instances. [ Test Plan ]  * Spin up a EC2 normal instance with enough disk space to hibernate.    The hibernation on spot instances cannot be controlled by the user but    we can reproduce the workflow in a normal instance:    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernate-spot-instances.html  * sudo apt-get install hibagent  * sudo /usr/bin/enable-ec2-spot-hibernation  * `journalctl -u hibagent | grep 'Errno'` will show:    Failed to initialize swap, reason: [Errno 2] No such file or directory: '/boot/grub/menu.lst'  * And no swap is configured in the system [ Where problems could occur ]  * On affected releases, hibagent modifies config files for both GRUB and    GRUB2. The upstream patch only modifies the GRUB config file if it is    present. Thus, if there is a regression it would affect releases with GRUB,    but we are going to include it in series that ship with GRUB2. [ Other Info ]  * Bionic ships GRUB2 but the images contain the old and not needed    /boot/grub/menu.lst . CPC has confirmed that there are no plans    to remove that file as that would constitute a breaking change for    an LTS. That's why this bug does not affect bionic. [Original Description] The agent fails to initialize the swap when /boot/grub/menu.lst is not present. That file is related to GRUB and is not needed on systems with GRUB2 installed. # /usr/bin/enable-ec2-spot-hibernation # journalctl -u hibagent ... Mar 30 10:51:10 ip-172-31-34-23 /hibagent[615]: Failed to initialize swap, reason: [Errno 2] No such file or directory: '/boot/grub/menu.lst' Mar 30 10:51:11 ip-172-31-34-23 /hibagent[615]: Background swap initialization thread is complete. I expected the agent to not require config files of older grub versions to be present to correctly configure the system for hibernation.
2023-04-25 17:09:44 Alberto Contreras description [ Impact ]  * This bug prevents the agent to correctly set up instances    for hibernation. It disallows AWS to hibernate spot instances. [ Test Plan ]  * Spin up a EC2 normal instance with enough disk space to hibernate.    The hibernation on spot instances cannot be controlled by the user but    we can reproduce the workflow in a normal instance:    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernate-spot-instances.html  * sudo apt-get install hibagent  * sudo /usr/bin/enable-ec2-spot-hibernation  * `journalctl -u hibagent | grep 'Errno'` will show:    Failed to initialize swap, reason: [Errno 2] No such file or directory: '/boot/grub/menu.lst'  * And no swap is configured in the system [ Where problems could occur ]  * On affected releases, hibagent modifies config files for both GRUB and    GRUB2. The upstream patch only modifies the GRUB config file if it is    present. Thus, if there is a regression it would affect releases with GRUB,    but we are going to include it in series that ship with GRUB2. [ Other Info ]  * Bionic ships GRUB2 but the images contain the old and not needed    /boot/grub/menu.lst . CPC has confirmed that there are no plans    to remove that file as that would constitute a breaking change for    an LTS. That's why this bug does not affect bionic. [Original Description] The agent fails to initialize the swap when /boot/grub/menu.lst is not present. That file is related to GRUB and is not needed on systems with GRUB2 installed. # /usr/bin/enable-ec2-spot-hibernation # journalctl -u hibagent ... Mar 30 10:51:10 ip-172-31-34-23 /hibagent[615]: Failed to initialize swap, reason: [Errno 2] No such file or directory: '/boot/grub/menu.lst' Mar 30 10:51:11 ip-172-31-34-23 /hibagent[615]: Background swap initialization thread is complete. I expected the agent to not require config files of older grub versions to be present to correctly configure the system for hibernation. [ Impact ]  * This bug prevents the agent to correctly set up instances    for hibernation. It disallows AWS to hibernate spot instances. [ Test Plan ] * Spin up an EC2 spot instance with `hibernate` as `Interruption behavior` [1]. * Install the latest hibagent: `sudo apt-get install hibagent` * Enable hibernation: `sudo /usr/bin/enable-ec2-spot-hibernation` * Create an AWS FIS experiment template to send a spot-instance-interruption signal [2], make it point to the created instance and launch it. Note: This step is optional, one can wait for AWS EC2 to send the interruption signal, but it could take a lot of time. * After some minutes, EC2 will send a signal to resume the interrupted instance. * Verify the instance has correctly been resumed from hibernation. [1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/interruption-behavior.html#specifying-spot-interruption-behavior [2] https://catalog.us-east-1.prod.workshops.aws/workshops/5fc0039f-9f15-47f8-aff0-09dc7b1779ee/en-US/030-basic-content/078-ec2-spot/020-spot-ec2-interrup [ Where problems could occur ]  * On affected releases, hibagent modifies config files for both GRUB and    GRUB2. The upstream patch only modifies the GRUB config file if it is    present. Thus, if there is a regression it would affect releases with GRUB,    but we are going to include it in series that ship with GRUB2. [ Other Info ]  * Bionic ships GRUB2 but the images contain the old and not needed    /boot/grub/menu.lst . CPC has confirmed that there are no plans    to remove that file as that would constitute a breaking change for    an LTS. That's why this bug does not affect bionic. [Original Description] The agent fails to initialize the swap when /boot/grub/menu.lst is not present. That file is related to GRUB and is not needed on systems with GRUB2 installed. # /usr/bin/enable-ec2-spot-hibernation # journalctl -u hibagent ... Mar 30 10:51:10 ip-172-31-34-23 /hibagent[615]: Failed to initialize swap, reason: [Errno 2] No such file or directory: '/boot/grub/menu.lst' Mar 30 10:51:11 ip-172-31-34-23 /hibagent[615]: Background swap initialization thread is complete. I expected the agent to not require config files of older grub versions to be present to correctly configure the system for hibernation.
2023-05-09 09:24:11 Alberto Contreras hibagent (Ubuntu Focal): status New In Progress
2023-05-09 09:24:15 Alberto Contreras hibagent (Ubuntu Jammy): status New In Progress
2023-05-09 09:24:18 Alberto Contreras hibagent (Ubuntu Kinetic): status New In Progress
2023-05-12 20:06:37 Steve Langasek hibagent (Ubuntu Kinetic): status In Progress Fix Committed
2023-05-12 20:06:38 Steve Langasek bug added subscriber Ubuntu Stable Release Updates Team
2023-05-12 20:06:42 Steve Langasek bug added subscriber SRU Verification
2023-05-12 20:06:45 Steve Langasek tags verification-needed verification-needed-kinetic
2023-05-12 20:07:35 Steve Langasek hibagent (Ubuntu Jammy): status In Progress Fix Committed
2023-05-12 20:07:39 Steve Langasek tags verification-needed verification-needed-kinetic verification-needed verification-needed-jammy verification-needed-kinetic
2023-05-12 20:09:22 Steve Langasek hibagent (Ubuntu Focal): status In Progress Fix Committed
2023-05-12 20:09:26 Steve Langasek tags verification-needed verification-needed-jammy verification-needed-kinetic verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic
2023-05-24 10:41:44 Alberto Contreras tags verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-done-focal verification-done-jammy verification-done-kinetic
2023-05-24 10:49:31 Alberto Contreras tags verification-done-focal verification-done-jammy verification-done-kinetic verification-done verification-done-focal verification-done-jammy verification-done-kinetic
2023-05-25 20:56:21 Andreas Hasenack bug added subscriber Andreas Hasenack
2023-05-30 19:13:09 Launchpad Janitor hibagent (Ubuntu Focal): status Fix Committed Fix Released
2023-05-30 19:13:14 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2023-05-30 19:14:41 Launchpad Janitor hibagent (Ubuntu Jammy): status Fix Committed Fix Released
2023-05-30 19:15:01 Launchpad Janitor hibagent (Ubuntu Kinetic): status Fix Committed Fix Released