Comments (6)
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.
The pull request was approved and the commit is merged(0224536). Closing the issue.
from amazon-ec2-hibinit-agent.
Does /swapfile
have enough space? Trying to understand the issue better, were these two files created by this agent?
from amazon-ec2-hibinit-agent.
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.
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.
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)
- Deprecate/archive old ec2-hibernate-linux-agent repo HOT 4
- Compatibility with the latest setuptools
- hibinit-agent lacks fs checks and uses fallocate to create swapfiles HOT 1
- Amazon Linux 2 requires `pm-utils` package to hibernate HOT 1
- Please support encrypted swap
- Ubuntu 22.04 incorrect installation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-ec2-hibinit-agent.