[SRU] Please accept ec2-hibinit-agent to supported releases
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://
<?xml version="1.0" encoding=
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://
<html xmlns="http://
<head>
<title>404 - Not Found</title>
</head>
<body>
<h1>404 - Not Found</h1>
</body>
</html>
$ curl http://
false
curl http://
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.
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/ PerformingSRUVe rification . 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.