Yaniv Bronhaim has submitted this change and it was merged.
Change subject: Balloon should not work when guest agent is not present ......................................................................
Balloon should not work when guest agent is not present
StatAvg returns 0 when there is no data available. We need to use Stat here so we get None and properly fail the condition.
Change-Id: Ic164043259a2936243e572c14705afa064f92171 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1232669 Signed-off-by: Martin Sivak msivak@redhat.com Reviewed-on: https://gerrit.ovirt.org/42207 Continuous-Integration: Jenkins CI Reviewed-by: Adam Litke alitke@redhat.com Reviewed-on: https://gerrit.ovirt.org/42968 Reviewed-by: Roy Golan rgolan@redhat.com Reviewed-by: Yaniv Bronhaim ybronhei@redhat.com --- M vdsm/mom.d/02-balloon.policy 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Adam Litke: Looks good to me, but someone else must approve Martin Sivák: Verified Yaniv Bronhaim: Looks good to me, approved Jenkins CI: Passed CI tests Roy Golan: Looks good to me, but someone else must approve