Bug 1422982

Summary: [RFE] add swap to rhevm-appliance
Product: Red Hat Enterprise Virtualization Manager Reporter: Fran├žois Cami <fcami>
Component: rhevm-applianceAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: Gonza <grafuls>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.0.6CC: cshao, dfediuck, eheftman, lsvaty, mgoldboi, rbarry
Target Milestone: ovirt-4.2.0Keywords: FutureFeature, ZStream
Target Release: 4.2.0Flags: grafuls: testing_plan_complete-
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, the default memory allotment for the RHV-M Virtual Appliance was always large enough to include support for user additions. In this release, the RHV-M Virtual Appliance includes a swap partition that enables the memory to be increased when required.
Story Points: ---
Clone Of:
: 1456877 (view as bug list) Environment:
Last Closed: 2018-05-15 19:00:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1456877    

Description Fran├žois Cami 2017-02-16 17:40:08 UTC
Description of problem:
rhevm-appliance has no swap by default, this is contrary to 
where a system with 16GiB of RAM should have at least 8GiB of swap.

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

How reproducible:

Steps to Reproduce:
1. Install RHV using the hosted engine (rhevm-appliance)
2. launch free -m on the appliance

Actual results:
No swap

Expected results:
8GiB+ swap

Additional info:
swap is required especially since additional tools must be installed on the manager (3rd party backup tools, etc) which might increase memory pressure.

Comment 2 Emma Heftman 2017-10-16 10:08:56 UTC
Hey Ryan
I am trying to understand whether this change has any impact on the documentation.

The Planning and Prerequisites Guide already mentions the swap partition, 


Although this section does not specifically mention the self-hosted engine, the latter references this section in the introductory chapter of the guide:


So, can you please clarify whether the table that appears in the guide was actually incorrect for the Self-hosted engine?

For 4.2, is the table actually correct as it is?

Comment 3 Ryan Barry 2017-10-16 13:09:34 UTC
The table is correct as-is

This RFE is about adding a swap partition to the engine virtual appliance. It increases the storage requirements for the hosted engine (on shared storage) to 58GB instead of 50GB.

Comment 4 Gonza 2017-11-20 16:21:20 UTC
Verified with:

* disk resized to 58G (swap 8G)

Comment 9 errata-xmlrpc 2018-05-15 19:00:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Comment 10 Franta Kust 2019-05-16 13:08:36 UTC
BZ<2>Jira Resync