Bug 1757697
Summary: | [downstream clone - 4.3.7] Reporting incorrect high memory usage, preventing VMs from migrating, high slab dentry | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | RHV bug bot <rhv-bugzilla-bot> |
Component: | vdsm | Assignee: | Liran Rotenberg <lrotenbe> |
Status: | CLOSED ERRATA | QA Contact: | Polina <pagranat> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3.5 | CC: | emarcus, lleistne, lrotenbe, lsurette, mavital, michal.skrivanek, rbarry, srevivo, ycui |
Target Milestone: | ovirt-4.3.7 | Keywords: | ZStream |
Target Release: | 4.3.7 | Flags: | lsvaty:
testing_plan_complete-
|
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | vdsm-4.30.34 | Doc Type: | Bug Fix |
Doc Text: |
The Administration Portal showed very high memory usage for a host with no VMs running. As a result, VMs could not be migrated to that host.
In this release, the free host memory is evaluated correctly.
|
Story Points: | --- |
Clone Of: | 1749630 | Environment: | |
Last Closed: | 2019-12-12 10:36:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1749630 | ||
Bug Blocks: |
Description
RHV bug bot
2019-10-02 08:17:30 UTC
Looks like this getStats is also used by ovirt-hosted-engine-ha to determine free memory. (Originally by Germano Veit Michel) verified on vdsm-4.30.34-1.el7ev.x86_64. meminfo['SReclaimable']) is included in /usr/lib/python2.7/site-packages/vdsm/host/api.py host memory usage in UI looks correct. The migration tests in automation passed successfully on production setups. Liran, could you please confirm if this is good for verification? (In reply to Polina from comment #5) > verified on vdsm-4.30.34-1.el7ev.x86_64. > > meminfo['SReclaimable']) is included in > /usr/lib/python2.7/site-packages/vdsm/host/api.py > > host memory usage in UI looks correct. The migration tests in automation > passed successfully on production setups. > > Liran, could you please confirm if this is good for verification? Please verify the report in UI to the meminfo on the host including SReclaimable. Try to run a VM consuming this value. For example, if the host had 2GB free before including SReclaimable, and now it has 3GB (SReclaimable is 1GB) try to run around 3GB VM on this host, or having a VM of 1GB migrating to this host. This way we can be sure we can use this value as expected and the new report is correct. verification on vdsm-4.30.37-1.el7ev.x86_64 and ovirt-engine-4.3.7.2-0.1.el7.noarch meminfo['SReclaimable']) is placed in calculation in file /usr/lib/python2.7/site-packages/vdsm/host/api.py Physical Memory: 127393 MB total, 8918 MB used, 118475 MB free Max free Memory for scheduling new VMs: 127007 MB cat /proc/meminfo MemTotal: 130450940 kB MemFree: 113095328 kB MemAvailable: 115297108 kB Buffers: 24688 kB Cached: 2913108 kB SReclaimable: 323888 kB Free + Cached + Buffers = 116033124 kB Start VM with 118475 MB - ok Start VM with 118475 MB (free) + 323 MB (SReclaimable) = 118798 MB - ok Then successfully start the three VMs with memory size: 1024 MB, 4096 MB, 2048 MB please confirm if it looks ok. 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. https://access.redhat.com/errata/RHBA-2019:4230 |