diff options
author | Patrice Buriez <patrice.buriez@intel.com> | 2019-02-15 12:54:36 +0100 |
---|---|---|
committer | Patrice Buriez <patrice.buriez@intel.com> | 2019-02-15 13:02:17 +0100 |
commit | b81ad59989b82ad977806c1a8877052eea1eb6b4 (patch) | |
tree | 785273e3cd5d2bc59886cf35589358b8cb0f62dd /ansible/roles/install_collectd/tasks | |
parent | d05cb96c045a9a65d7db424300677f36f3d4f7b4 (diff) |
Quick and ugly fix for "division by zero"
Workaround for "ZeroDivisionError: float division by zero" and
"RuntimeError: Unable to retrieve TSC" issues.
The actual clean fix requires reworking get_data() to accumulate
bytes received from PROX TCP port until EOL is received.
Since the other functions calling get_data() expect a synchronous
answer from PROX, timeout should be considered a fatal error, and
the current default at 10ms was just calling for problems!
Even if this change does not get merged, at least this workaround
will be available to end-users for cherry-picking from gerrit,
while the actual clean fix is being implemented.
JIRA: YARDSTICK-1381
Change-Id: I6af226ca31aaebeb50302e24b1eb209de70f6526
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
Diffstat (limited to 'ansible/roles/install_collectd/tasks')
0 files changed, 0 insertions, 0 deletions