Change in vdsm[ovirt-3.6]: sampling: Handle numa nodes with zero memory assigned

danken at redhat.com danken at redhat.com
Wed Aug 19 11:53:47 UTC 2015


Dan Kenigsberg has submitted this change and it was merged.

Change subject: sampling: Handle numa nodes with zero memory assigned
......................................................................


sampling: Handle numa nodes with zero memory assigned

Fix zero division when a numa node has zero memory assigned and report
a memory usage of 100% instead. One case where this can happen is when
the server is not set up correcly.

Bug-Url: https://bugzilla.redhat.com/1247058
Change-Id: I6be69e715e9b4a0cc8ded744b0bcc192a466c6c8
Signed-off-by: Roman Mohr <rmohr at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/44121
Continuous-Integration: Jenkins CI
Reviewed-by: Francesco Romani <fromani at redhat.com>
(cherry picked from commit bd5c78f548cb52f1b7ff2ddeababe9ef95e055ef)
Reviewed-on: https://gerrit.ovirt.org/44550
Continuous-Integration: Dan Kenigsberg <danken at redhat.com>
---
M tests/samplingTests.py
M vdsm/virt/sampling.py
2 files changed, 52 insertions(+), 2 deletions(-)

Approvals:
  Roman Mohr: Verified
  Dan Kenigsberg: Passed CI tests
  Francesco Romani: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/44550
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6be69e715e9b4a0cc8ded744b0bcc192a466c6c8
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org


More information about the vdsm-patches mailing list