Dan Kenigsberg has submitted this change and it was merged.

Change subject: stats: avoid log if cpu stats are known missing
......................................................................


stats: avoid log if cpu stats are known missing

There are some known cases on which the cpu stats cannot
be available, for example if not enough samples are yet
collected.

Those cases are already handled by the current code,
but a message is logged anyway, even if it is a known
and benign case of  expected missing sample.

This patch add explicit handling for the benign missing
cpu stats case, to avoid to produce log noise when it is
expected to not have the cpu stats.

Change-Id: I62eff2e04a2922fb683d3c1d78605990399c7b76
Signed-off-by: Francesco Romani <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/27416
Reviewed-by: Antoni Segura Puimedon <[email protected]>
Reviewed-by: Dan Kenigsberg <[email protected]>
---
M vdsm/virt/vm.py
1 file changed, 6 insertions(+), 2 deletions(-)

Approvals:
  Antoni Segura Puimedon: Looks good to me, but someone else must approve
  Dan Kenigsberg: Looks good to me, approved
  Francesco Romani: Verified



-- 
To view, visit http://gerrit.ovirt.org/27416
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I62eff2e04a2922fb683d3c1d78605990399c7b76
Gerrit-PatchSet: 8
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to