← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1812166] Re: [SRU] Please accept ec2-hibinit-agent to supported releases

 

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 <rbalint@xxxxxxxxxx>  Fri, 01 Mar 2019 23:05:14 +0100

** Changed in: ec2-hibinit-agent (Ubuntu Cosmic)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1812166

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

Status in ec2-hibinit-agent package in Ubuntu:
  Fix Released
Status in ec2-hibinit-agent source package in Trusty:
  Won't Fix
Status in ec2-hibinit-agent source package in Xenial:
  Fix Released
Status in ec2-hibinit-agent source package in Bionic:
  Fix Released
Status in ec2-hibinit-agent source package in Cosmic:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1812166/+subscriptions