Code Monkey home page Code Monkey logo

Comments (6)

matthewruffell avatar matthewruffell commented on May 26, 2024 1

Hello @maresb thanks for reporting the issue!

We are tracking it downstream in Ubuntu at LP#1968805, and I hope to get this fixed up soon.

I made a new patch using your same idea, just changing the priority to the maximum 32767, which is more robust to priorities users could be using out in the wild.

Thanks,
Matthew

from amazon-ec2-hibinit-agent.

xiongxia-aws avatar xiongxia-aws commented on May 26, 2024 1

The pull request was approved and the commit is merged(0224536). Closing the issue.

from amazon-ec2-hibinit-agent.

chenxiaoyi avatar chenxiaoyi commented on May 26, 2024

Does /swapfile have enough space? Trying to understand the issue better, were these two files created by this agent?

from amazon-ec2-hibinit-agent.

maresb avatar maresb commented on May 26, 2024

I created /swapfile and the agent created /swap-hibinit. (Ubuntu patches hibinit-agent to rename /swap to /swap-hibinit.) If I remember correctly, hibernation ignores everything but the swapfile with highest priority (in this case my /swap, which is indeed big enough). I think it fails because /swap-hibinit is registered with grub. When it tries to hibernate, it notices the mismatch and fails.

Increasing the priority solves the problem. (See my PR.)

from amazon-ec2-hibinit-agent.

maresb avatar maresb commented on May 26, 2024

Thanks so much @matthewruffell for moving this forward!!! I like your patch and I marked the linked issues as "this bug affects me"

from amazon-ec2-hibinit-agent.

eptiger avatar eptiger commented on May 26, 2024

Thanks for reporting and putting together a patch - the engineering team in EC2 that maintains the agent is aware of the patch and are prioritizing testing it. I'll ask them to give you an ETA when they have one.

from amazon-ec2-hibinit-agent.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.