Bug 2052689 - Overhead Memory consumption calculations are incorrect
Summary: Overhead Memory consumption calculations are incorrect
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.8.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.11.0
Assignee: Jed Lejosne
QA Contact: Denys Shchedrivyi
URL:
Whiteboard:
Depends On:
Blocks: 2121340
TreeView+ depends on / blocked
 
Reported: 2022-02-09 19:09 UTC by Courtney Ruhm
Modified: 2023-11-13 08:15 UTC (History)
10 users (show)

Fixed In Version: hco-bundle-registry-container-v4.11.0-315 virt-operator-container-v4.11.0-55
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2121340 (view as bug list)
Environment:
Last Closed: 2022-09-14 19:28:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt kubevirt pull 7264 0 None open virt-launcher: adjust overhead calculation for processes 2022-03-23 13:34:41 UTC
Red Hat Issue Tracker CNV-16324 0 None None None 2023-11-13 08:15:36 UTC
Red Hat Knowledge Base (Solution) 6725761 0 None None None 2022-02-11 09:11:48 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:29:07 UTC

Comment 5 Artyom 2022-02-09 20:44:04 UTC
Moving to CNV. Unsure regarding the correct version for the CNV component.

Comment 7 Ken McDonald 2022-02-10 20:48:31 UTC
Behavior discovered in the field confirms this issue if a VM definition includes ‘requests’ and ‘limits’ set to equal values. When an RHCOS VM exhausts ‘free’ memory and begins consuming ‘available’ memory, the total amount of memory used by the VM + virt-launcher pod exceeds cgroup limits and the VM is forcibly shutdown with a MEMCG error shown in journalctl

Comment 12 Antonio Cardace 2022-05-06 08:47:28 UTC
Fix for this https://github.com/kubevirt/kubevirt/pull/7264 is now in main upstream.

Comment 18 Denys Shchedrivyi 2022-05-25 15:14:16 UTC
Verified on CNV v4.11.0-334

Comment 20 errata-xmlrpc 2022-09-14 19:28:43 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 (Important: OpenShift Virtualization 4.11.0 Images security and bug fix update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHSA-2022:6526


Note You need to log in before you can comment on or make changes to this bug.