Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "'libvirt' guest console in Standalone model"
[yardstick.git]
/
yardstick
/
network_services
/
collector
/
subscriber.py
diff --git
a/yardstick/network_services/collector/subscriber.py
b/yardstick/network_services/collector/subscriber.py
index
4dc5a79
..
7e18302
100644
(file)
--- a/
yardstick/network_services/collector/subscriber.py
+++ b/
yardstick/network_services/collector/subscriber.py
@@
-62,12
+62,13
@@
class Collector(object):
# Result example:
# {"VNF1: { "tput" : [1000, 999] }, "VNF2": { "latency": 100 }}
LOG.debug("collect KPI for %s", node_name)
# Result example:
# {"VNF1: { "tput" : [1000, 999] }, "VNF2": { "latency": 100 }}
LOG.debug("collect KPI for %s", node_name)
- if resource.check_if_s
a
_running("collectd")[0] != 0:
+ if resource.check_if_s
ystem_agent
_running("collectd")[0] != 0:
continue
try:
results[node_name] = {"core": resource.amqp_collect_nfvi_kpi()}
LOG.debug("%s collect KPIs %s", node_name, results[node_name]['core'])
continue
try:
results[node_name] = {"core": resource.amqp_collect_nfvi_kpi()}
LOG.debug("%s collect KPIs %s", node_name, results[node_name]['core'])
- except Exception:
- LOG.exception("")
+ # NOTE(elfoley): catch a more specific error
+ except Exception as exc: # pylint: disable=broad-except
+ LOG.exception(exc)
return results
return results