Dan Kenigsberg has submitted this change and it was merged.

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


stats: avoid log if disk stats are known missing

There are some known cases on which the disk stats cannot
be available, for example if recovery is in progress.

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
disk stats case, to avoid to produce log noise when it is
expected to not have the disk stats.

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

Approvals:
  Dan Kenigsberg: Looks good to me, approved
  Francesco Romani: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia4dfd5f51fa3ed8cba172dbff0ae23714cabaf67
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[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