Bug 1100152
| Summary: | [scale] Host memory usage is not updated in RHEVM UI after removing VMs | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Yuri Obshansky <yobshans> | ||||||||||||||||
| Component: | ovirt-engine | Assignee: | Roy Golan <rgolan> | ||||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Yuri Obshansky <yobshans> | ||||||||||||||||
| Severity: | urgent | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 3.4.0 | CC: | dfediuck, gklein, iheim, lpeer, michal.skrivanek, rbalakri, rgolan, Rhev-m-bugs, sherold, yeylon, yobshans | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | 3.5.0 | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Linux | ||||||||||||||||||
| Whiteboard: | sla | ||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2014-11-30 11:00:06 UTC | Type: | Bug | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
Yuri Obshansky
2014-05-22 06:42:36 UTC
Created attachment 898223 [details]
RHEVM UI snapshot
Can we get the engine and specific vdsm log to see what is being reported? It's a little bit complicated right now. Environment is under load tests. I hope, I'll be able reproduce it and collect log files on next week. Yuri, any update? I'll upload log files during this week. Created attachment 933300 [details]
engine.log
Created attachment 933302 [details]
vdsm.log
I've reproduced that bug on another environment. Unfortunately, I cannot overload host with large number of VMs (due the limited number of MAC addresses in our environmnet) to reach 99% CPU. But, you can see host CPU Utilization is 66% while no one VMs is running on it and top command shows 0.1 %. See attached engine.log, vdsm.log, RHEVM UI screenshot, top screeshot. Created attachment 933303 [details]
Engine UI screenshot
Created attachment 933304 [details]
top screenshot
Yuri pls include the output of # vdsClient 0 getVdsStats | egrep 'cpuSys|cpuUser' the sum of both numbers is what reported in the UI. if the figures don't match we should see what's in the db for vds_statistics column select cpu_sys,cpu_user from vds where vds_name = 'YOURHOST'; Roy, what build you prefer? 3.4.* ор 3.5.0-0.17.beta.el6ev (In reply to Yuri Obshansky from comment #12) > Roy, what build you prefer? > 3.4.* ор 3.5.0-0.17.beta.el6ev 3.5 unless you got a 3.4 setup and you can quickly get it. I tried reproduce bug on RHEVM 3.5.0-0.18.beta.el6ev and vdsm-4.16.7.2-1.el6ev
It didn't reproduce.
I created 90 VMs on host and it's memory usage was 98%
(see uploaded screenshot ui_mem_3.5_99_percent_before.jpg)
VDSM client shows the same number:
[root@host05-rack06 ~]# vdsClient -s 0 getVdsStats | egrep 'memUsed'
memUsed = '98'
And engine database has the same number also:
engine=# select usage_mem_percent from vds where vds_name = 'HOST-05';
usage_mem_percent
-------------------
98
I removed all VMs and host memory usage was reduced to 3% as expected.
(see uploaded screenshot ui_mem_3.5_99_percent_after.jpg)
VDSM client shows the same number:
[root@host05-rack06 ~]# vdsClient -s 0 getVdsStats | egrep 'memUsed'
memUsed = '3'
And engine database has the same number also:
engine=# select usage_mem_percent from vds where vds_name = 'HOST-05';
usage_mem_percent
-------------------
3
So, bug could be closed.
Created attachment 958286 [details]
screenshot memory usage 98%
Created attachment 958287 [details]
screenshot memory usage 3%
|