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 <[email protected]> Reviewed-on: https://gerrit.ovirt.org/44121 Continuous-Integration: Jenkins CI Reviewed-by: Francesco Romani <[email protected]> (cherry picked from commit bd5c78f548cb52f1b7ff2ddeababe9ef95e055ef) Reviewed-on: https://gerrit.ovirt.org/44550 Continuous-Integration: Dan Kenigsberg <[email protected]> --- 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 <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Francesco Romani <[email protected]> Gerrit-Reviewer: Roman Mohr <[email protected]> Gerrit-Reviewer: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: [email protected] _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
