Francesco Romani has uploaded a new change for review.

Change subject: vmstats: remove useless short stacktrace
......................................................................

vmstats: remove useless short stacktrace

There is no point in dump a stacktrace
when we miss cpu samples. Only adds noise.

Change-Id: I69e12312e1c014c92de687fd6781dd83cbee709e
Related-To: https://bugzilla.redhat.com/1299480
Backport-To: 3.6
Signed-off-by: Francesco Romani <from...@redhat.com>
---
M vdsm/virt/vmstats.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/94/52894/1

diff --git a/vdsm/virt/vmstats.py b/vdsm/virt/vmstats.py
index 7855b4b..b9d9661 100644
--- a/vdsm/virt/vmstats.py
+++ b/vdsm/virt/vmstats.py
@@ -123,8 +123,8 @@
             - _diff(last_sample, first_sample, 'cpu.system'),
             interval)
 
-    except KeyError as e:
-        logging.exception("CPU stats not available: %s", e)
+    except KeyError:
+        pass
 
     return stats
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I69e12312e1c014c92de687fd6781dd83cbee709e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <from...@redhat.com>
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to