Description of problem:
vdsm sends large negative values to rhevm instead of percentage in host interface tx_rate and rx_rate.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create setup with several Hosts
2.run on the hosts 'vdsClient -s 0 getVdsStats'
And check the values (Tx/Rx rate ( '-694.2' / '-470.6') && 'speed': '-1'
returns negative on percent stats. the value can be more then -30000 even.
returns positive percent stats.
please attach vdsm.log, and the output of `vdsClient -s 0 getVdsStats`. Please send me host details (in private), since the problem does not reproduce on hosts that I've seen.
This bug could have stemmed form kernel reporting negative speed in
The posted patch prevents this problem, but I cannot be sure until we find a host where this reproduces (and may warrant a separate kernel bug).
Please reopen this bug if the following commit did not help, and you have a reproducer.
Author: Dan Kenigsberg <firstname.lastname@example.org>
Date: Wed Sep 21 11:33:39 2011 +0300
BZ#740158 netinfo: never report negative speed
Even if, for some reason,
had a negative value, we should not report it as such. It justly