[SRU] Please accept ec2-hibinit-agent to supported releases

Bug #1812166 reported by Balint Reczey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ec2-hibinit-agent (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Won't Fix
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

The package is new to the releases and sets up EC2 on demand instances to hibernate on an ACPI sleep event.

[Test Case]

1. Please perform piuparts-like tests with the package and make sure that ec2-hibinit-agent service is started. On EC2 on demand instances that were configured to allow hibernation the hibinit-agent service prepares the system for enabling hibernation. On non EC2 on demand instances and on EC2 on demand instances where hibernation is not configures when launching the instance the service starts without error but does not prepare the system for being able to hibernate.

Note, that the resource on the URL enabling hibernation may be missing or may hold true or false:
$ curl http://169.254.169.254/latest/meta-data/hibernation/configured
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
  <title>404 - Not Found</title>
 </head>
 <body>
  <h1>404 - Not Found</h1>
 </body>
</html>
$ curl http://169.254.169.254/latest/meta-data/hibernation/configured
false
curl http://169.254.169.254/latest/meta-data/hibernation/configured
true

Negative cases and proper start are tested in LP: #1817926.

2. Start a long running process on the instance, like top in screen.

3. Hibernate, then after it finished start the instance on EC2 console

4. Log in to the instance and observe top still running in screen.

5. Hibernate, then after it finished start the instance on EC2 console

6. Log in to the instance and observe top still running in screen.
   (This second cycle ensures that hibernation works more than once.)

[Regression Potential]

Since the package is new it may not cause regressions by being broken.

The package sets up a swap file on / reserving the size of the memory from the root partition. There is check in the service to ensure that there is enough space but the space left may not be enough for the proper operation of the system later. Users a warned on EC2 console to allocate a big enough root partition for the instance when instance hibernation is enabled.

For Trusty in my tests the generic default 3.x kernel could not resume from hibernation, but the latest 4.4.x-based linux-aws kernel could.

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu1~18.10.0 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 and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. 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.

Changed in ec2-hibinit-agent (Ubuntu):
status: New → Fix Released
Changed in ec2-hibinit-agent (Ubuntu Cosmic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu1~18.04.0 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 and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. 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.

Changed in ec2-hibinit-agent (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu1~16.04.0 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 and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. 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.

Changed in ec2-hibinit-agent (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed-xenial
Balint Reczey (rbalint)
description: updated
Balint Reczey (rbalint)
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu1~14.04.1 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 and change the tag from verification-needed-trusty to verification-done-trusty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-trusty. 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.

Changed in ec2-hibinit-agent (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed-trusty
Balint Reczey (rbalint)
description: updated
Revision history for this message
Robie Basak (racb) wrote :

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu1~18.10.1 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 and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Robie Basak (racb) wrote :

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu1~18.04.1 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 and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Robie Basak (racb) wrote :

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu1~16.04.1 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 and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Robie Basak (racb) wrote :

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu1~14.04.2 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 and change the tag from verification-needed-trusty to verification-done-trusty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-trusty. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu4~18.10.0 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 and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. 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.

Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu4~18.04.0 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 and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. 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.

Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu4~16.04.0 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 and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. 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.

Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Balint, or anyone else affected,

Accepted ec2-hibinit-agent into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2-hibinit-agent/1.0.0-0ubuntu4~14.04.0 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 and change the tag from verification-needed-trusty to verification-done-trusty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-trusty. 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.

Revision history for this message
Balint Reczey (rbalint) wrote :

Trusty will not include the package.

Changed in ec2-hibinit-agent (Ubuntu Trusty):
status: Fix Committed → Won't Fix
tags: removed: verification-needed-trusty
description: updated
Revision history for this message
Balint Reczey (rbalint) wrote :

Tested with 1.0.0-0ubuntu4~16.04.0 on Xenial:

...
Linux ip-172-31-12-48 4.4.0-1077-aws #87-Ubuntu SMP Wed Mar 6 00:03:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
...

The system hibernated and resumed twice.

The package reinstallation and purging were also successful:

ubuntu@ip-172-31-12-48:~$ sudo apt install --reinstall ec2-hibinit-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 11 not upgraded.
Need to get 9,916 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/universe amd64 ec2-hibinit-agent all 1.0.0-0ubuntu4~16.04.0 [9,916 B]
Fetched 9,916 B in 0s (45.9 kB/s)
(Reading database ... 76488 files and directories currently installed.)
Preparing to unpack .../ec2-hibinit-agent_1.0.0-0ubuntu4~16.04.0_all.deb ...
Unpacking ec2-hibinit-agent (1.0.0-0ubuntu4~16.04.0) over (1.0.0-0ubuntu4~16.04.0) ...
Setting up ec2-hibinit-agent (1.0.0-0ubuntu4~16.04.0) ...
ubuntu@ip-172-31-12-48:~$ sudo apt purge ec2-hibinit-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ec2-hibinit-agent*
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.
After this operation, 59.4 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 76488 files and directories currently installed.)
Removing ec2-hibinit-agent (1.0.0-0ubuntu4~16.04.0) ...
Purging configuration files for ec2-hibinit-agent (1.0.0-0ubuntu4~16.04.0) ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-1077-aws
Found initrd image: /boot/initrd.img-4.4.0-1077-aws
Found linux image: /boot/vmlinuz-4.4.0-1075-aws
Found initrd image: /boot/initrd.img-4.4.0-1075-aws
done
ubuntu@ip-172-31-12-48:~$ ls /etc/default/grub.d/
50-cloudimg-settings.cfg
ubuntu@ip-172-31-12-48:~$ grep resume /boot/grub/grub.cfg
ubuntu@ip-172-31-12-48:~$

tags: added: verification-done-xenial
removed: verification-needed-xenial
Revision history for this message
Balint Reczey (rbalint) wrote :
Download full text (4.0 KiB)

Tested 1.0.0-0ubuntu4~18.10.0 on Cosmic:

ubuntu@ip-172-31-11-18:~$ sudo apt install --reinstall ec2-hibinit-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/10.0 kB of archives.
After this operation, 0 B of additional disk space will be used.
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 66281 files and directories currently installed.)
Preparing to unpack .../ec2-hibinit-agent_1.0.0-0ubuntu4~18.10.0_all.deb ...
Unpacking ec2-hibinit-agent (1.0.0-0ubuntu4~18.10.0) over (1.0.0-0ubuntu4~18.10.0) ...
Setting up ec2-hibinit-agent (1.0.0-0ubuntu4~18.10.0) ...
ubuntu@ip-172-31-11-18:~$ service hibinit-agent status
● hibinit-agent.service - EC2 instance hibernation setup agent
   Loaded: loaded (/lib/systemd/system/hibinit-agent.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Tue 2019-03-12 14:24:20 UTC; 31s ago
     Docs: file:/usr/share/doc/ec2-hibinit-agent/README

Mar 12 14:24:20 ip-172-31-11-18 /hibinit-agent[2972]: Running: swapoff /swap-hibinit
Mar 12 14:24:20 ip-172-31-11-18 hibinit-agent[2972]: Effective config: {'log_to_syslog': True, 'log_to_stderr': True, 'mkswap': 'mkswap {swapfile}', 'swapon': 'swapon {swapfi
le}', 'swapoff': 'swapoff {swapfile}', 'touch_swap': False, 'grub_update': True, 'swap_percentage': 100, 'swap_mb': 4000}
Mar 12 14:24:20 ip-172-31-11-18 hibinit-agent[2972]: Will check if swap is at least: 4000 megabytes
Mar 12 14:24:20 ip-172-31-11-18 hibinit-agent[2972]: There's sufficient swap available (have 4194304000, need 4194304000)
Mar 12 14:24:20 ip-172-31-11-18 hibinit-agent[2972]: Running: swapon /swap-hibinit
Mar 12 14:24:20 ip-172-31-11-18 hibinit-agent[2972]: Updating the kernel offset for the swapfile: /swap-hibinit
Mar 12 14:24:20 ip-172-31-11-18 hibinit-agent[2972]: Setting swap device to 51713 with offset 245760
Mar 12 14:24:20 ip-172-31-11-18 hibinit-agent[2972]: Done updating the swap offset. Turning swapoff
Mar 12 14:24:20 ip-172-31-11-18 hibinit-agent[2972]: Running: swapoff /swap-hibinit
Mar 12 14:24:20 ip-172-31-11-18 systemd[1]: Started EC2 instance hibernation setup agent.
ubuntu@ip-172-31-11-18:~$ sudo apt purge ec2-hibinit-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ec2-hibinit-agent*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 59.4 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 66281 files and directories currently installed.)
Removing ec2-hibinit-agent (1.0.0-0ubuntu4~18.10.0) ...
(Reading database ... 66268 files and directories currently installed.)
Purging configuration files for ec2-hibinit-agent (1.0.0-0ubuntu4~18.10.0) ...
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/40-force-partuuid.cfg'
Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.18.0-1011-aws
Found initrd image: /boot/initrd.img-4.1...

Read more...

tags: added: verification-done-cosmic
removed: verification-needed-cosmic
Revision history for this message
Balint Reczey (rbalint) wrote :
Download full text (4.3 KiB)

Tested 1.0.0-0ubuntu4~18.04.0 on Cosmic:

ubuntu@ip-172-31-7-41:~$ sudo apt install --reinstall ec2-hibinit-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/10.0 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 111595 files and directories currently installed.)
Preparing to unpack .../ec2-hibinit-agent_1.0.0-0ubuntu4~18.04.0_all.deb ...
Unpacking ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.0) over (1.0.0-0ubuntu4~18.04.0) ...
Setting up ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.0) ...
ubuntu@ip-172-31-7-41:~$ service hibinit-agent status
● hibinit-agent.service - EC2 instance hibernation setup agent
   Loaded: loaded (/lib/systemd/system/hibinit-agent.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Tue 2019-03-12 14:30:38 UTC; 7s ago
     Docs: file:/usr/share/doc/ec2-hibinit-agent/README

Mar 12 14:30:38 ip-172-31-7-41 /hibinit-agent[1937]: Running: swapoff /swap-hibinit
Mar 12 14:30:38 ip-172-31-7-41 hibinit-agent[1937]: Effective config: {'log_to_syslog': True, 'log_to_stderr': True, 'mkswap': 'mkswap {swapfile}', 'swapon': 'swapon {swapfil
Mar 12 14:30:38 ip-172-31-7-41 hibinit-agent[1937]: Will check if swap is at least: 4000 megabytes
Mar 12 14:30:38 ip-172-31-7-41 hibinit-agent[1937]: There's sufficient swap available (have 4194304000, need 4194304000)
Mar 12 14:30:38 ip-172-31-7-41 hibinit-agent[1937]: Running: swapon /swap-hibinit
Mar 12 14:30:38 ip-172-31-7-41 hibinit-agent[1937]: Updating the kernel offset for the swapfile: /swap-hibinit
Mar 12 14:30:38 ip-172-31-7-41 hibinit-agent[1937]: Setting swap device to 51713 with offset 235520
Mar 12 14:30:38 ip-172-31-7-41 hibinit-agent[1937]: Done updating the swap offset. Turning swapoff
Mar 12 14:30:38 ip-172-31-7-41 hibinit-agent[1937]: Running: swapoff /swap-hibinit
Mar 12 14:30:38 ip-172-31-7-41 systemd[1]: Started EC2 instance hibernation setup agent.
ubuntu@ip-172-31-7-41:~$ grep resume /boot/grub/grub.cfg
        linux /boot/vmlinuz-4.15.0-1034-aws root=UUID=b5361850-7320-445b-b1c9-a8b294830484 ro console=tty1 console=ttyS0 nvme.io_timeout=4294967295 no_console_suspend=1 resume_offset=235520 resume=/dev/xvda1
         linux /boot/vmlinuz-4.15.0-1034-aws root=UUID=b5361850-7320-445b-b1c9-a8b294830484 ro console=tty1 console=ttyS0 nvme.io_timeout=4294967295 no_console_suspend=1 resume_offset=235520 resume=/dev/xvda1
         linux /boot/vmlinuz-4.15.0-1033-aws root=UUID=b5361850-7320-445b-b1c9-a8b294830484 ro console=tty1 console=ttyS0 nvme.io_timeout=4294967295 no_console_suspend=1 resume_offset=235520 resume=/dev/xvda1
         linux /boot/vmlinuz-4.15.0-1007-aws root=UUID=b5361850-7320-445b-b1c9-a8b294830484 ro console=tty1 console=ttyS0 nvme.io_timeout=4294967295 no_console_suspend=1 resume_offset=235520 resume=/dev/xvda1
ubuntu@ip-172-31-7-41:~$ sudo apt purge ec2-hibinit-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ec2-hibinit-agent*
0 upgraded, 0 newly i...

Read more...

tags: added: verification-done-bionic
removed: verification-needed-bionic
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu4~18.10.0

---------------
ec2-hibinit-agent (1.0.0-0ubuntu4~18.10.0) cosmic; urgency=medium

  * Backport to Cosmic (LP: #1812166)

ec2-hibinit-agent (1.0.0-0ubuntu4) disco; urgency=medium

  * Update grub configuration snippet even when it exists but has outdated
    content

ec2-hibinit-agent (1.0.0-0ubuntu3) disco; urgency=medium

  * Refer to root partition in resume=... the same way as GRUB2 refers to it
    (LP: #1818150)

ec2-hibinit-agent (1.0.0-0ubuntu2) disco; urgency=medium

  * debian/gbp.conf: Use ubuntu/ prefix for tags
  * Silence swapoff when purging the package
  * Detect disabled hibernation with Python 3's urllib, too. (LP: #1817926)

ec2-hibinit-agent (1.0.0-0ubuntu1) disco; urgency=medium

  * Initial release based on packaging of hibagent

 -- Balint Reczey <email address hidden> Fri, 01 Mar 2019 23:05:14 +0100

Changed in ec2-hibinit-agent (Ubuntu Cosmic):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for ec2-hibinit-agent has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu4~18.04.0

---------------
ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.0) bionic; urgency=medium

  * Backport to Bionic (LP: #1812166)

ec2-hibinit-agent (1.0.0-0ubuntu4) disco; urgency=medium

  * Update grub configuration snippet even when it exists but has outdated
    content

ec2-hibinit-agent (1.0.0-0ubuntu3) disco; urgency=medium

  * Refer to root partition in resume=... the same way as GRUB2 refers to it
    (LP: #1818150)

ec2-hibinit-agent (1.0.0-0ubuntu2) disco; urgency=medium

  * debian/gbp.conf: Use ubuntu/ prefix for tags
  * Silence swapoff when purging the package
  * Detect disabled hibernation with Python 3's urllib, too. (LP: #1817926)

ec2-hibinit-agent (1.0.0-0ubuntu1) disco; urgency=medium

  * Initial release based on packaging of hibagent

 -- Balint Reczey <email address hidden> Fri, 01 Mar 2019 23:08:55 +0100

Changed in ec2-hibinit-agent (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu4~16.04.0

---------------
ec2-hibinit-agent (1.0.0-0ubuntu4~16.04.0) xenial; urgency=medium

  * Backport to Xenial (LP: #1812166)

ec2-hibinit-agent (1.0.0-0ubuntu4) disco; urgency=medium

  * Update grub configuration snippet even when it exists but has outdated
    content

ec2-hibinit-agent (1.0.0-0ubuntu3) disco; urgency=medium

  * Refer to root partition in resume=... the same way as GRUB2 refers to it
    (LP: #1818150)

ec2-hibinit-agent (1.0.0-0ubuntu2) disco; urgency=medium

  * debian/gbp.conf: Use ubuntu/ prefix for tags
  * Silence swapoff when purging the package
  * Detect disabled hibernation with Python 3's urllib, too. (LP: #1817926)

ec2-hibinit-agent (1.0.0-0ubuntu1) disco; urgency=medium

  * Initial release based on packaging of hibagent

 -- Balint Reczey <email address hidden> Fri, 01 Mar 2019 23:16:18 +0100

Changed in ec2-hibinit-agent (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.