Bug 2374205

Summary: Fix swap allocation by SwapInitializer
Product: [Fedora] Fedora EPEL Reporter: Ayushmaan Banerjee <ayushmn>
Component: ec2-hibinit-agentAssignee: David Duncan <davdunc>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: epel9CC: cloud-sig, davdunc, xiliang
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ayushmaan Banerjee 2025-06-22 17:02:17 UTC
Description of problem:
SwapInitializer was not using the greater of the two configuration options: percentage-of-ram and target-size-mb, but instead just target-size-mb in EPEL-8/9 (not tested in EPEL-10). 

Version-Release number of selected component (if applicable):
Latest

Ref: https://github.com/aws/amazon-ec2-hibinit-agent/pull/48

Fix: https://github.com/aws/amazon-ec2-hibinit-agent/commit/3700a58fb73778dd02d37617b952766d4828e332

Comment 1 Ayushmaan Banerjee 2025-06-22 17:02:41 UTC
*** Bug 2374204 has been marked as a duplicate of this bug. ***

Comment 2 David Duncan 2025-06-23 13:09:59 UTC
Reviewed with Banerjee. I am working on this today.

Comment 3 Frank Liang 2025-10-21 15:46:14 UTC
Hi David,
Penington, Matthew mentioned this fix and I created one pull request to epel9. Could you help take a look? If it is ok, I will create pr to other branches later. Thanks
https://src.fedoraproject.org/rpms/ec2-hibinit-agent/pull-request/12

Comment 4 Fedora Admin user for bugzilla script actions 2026-07-07 16:51:17 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.