Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 887230 - Units for statistics of host NICs are wrong: BYTES_PER_SECOND should be MEGABYTES_PER_SECOND.
Units for statistics of host NICs are wrong: BYTES_PER_SECOND should be MEGAB...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi (Show other bugs)
3.1.0
All Linux
medium Severity medium
: ---
: 3.2.0
Assigned To: Alona Kaplan
GenadiC
network
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-14 06:40 EST by Julio Entrena Perez
Modified: 2016-02-10 14:58 EST (History)
10 users (show)

See Also:
Fixed In Version: SF9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-10 17:28:52 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Network
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 280413 None None None Never
oVirt gerrit 12164 None None None Never
Red Hat Product Errata RHSA-2013:0888 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-10 20:55:41 EDT

  None (edit)
Description Julio Entrena Perez 2012-12-14 06:40:57 EST
Description of problem:
Units of statstics for host NICs are reported as "BYTES_PER_SECOND" but reported values are MBytes/s.

Version-Release number of selected component (if applicable):
rhevm-restapi 3.1.0-32.el6ev.

How reproducible:
Always.

Steps to Reproduce:
1. Create some network traffic from/to the host.
2. Check <unit> value for data.current.{rx,tx} in https://<rhevm>/api/hosts/<host_uuid>/nics/<nic_uuid>/statistics
  
Actual results:
statistics/statistic/unit value is BYTES_PER_SECOND

Expected results:
statistics/statistic/unit value is MEGABYTES_PER_SECOND

Additional info:
Comment 1 Michael Pasternak 2013-01-20 08:55:39 EST
cross api standard is BYTES_PER_SECOND, 

Ravi, if it's reported in MEGABYTES_PER_SECOND, please convert to MEGABYTES_PER_SECOND
Comment 2 Alona Kaplan 2013-02-13 03:14:46 EST
Same problem for vm nics.
Comment 3 Michael Pasternak 2013-02-14 04:20:19 EST
(In reply to comment #1)
> cross api standard is BYTES_PER_SECOND, 
> 
> Ravi, if it's reported in MEGABYTES_PER_SECOND, please convert to
> MEGABYTES_PER_SECOND

typo, i meant convert to BYTES_PER_SECOND
Comment 4 Alona Kaplan 2013-02-17 09:31:52 EST
The rx and tx are reported and displayed in the rest as percent of the speed.
It should be converted and displayed as BYTES_PER_SECOND.
Comment 5 GenadiC 2013-03-04 09:40:14 EST
Verified in SF9
Comment 8 errata-xmlrpc 2013-06-10 17:28:52 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0888.html

Note You need to log in before you can comment on or make changes to this bug.