Bug 887230
| Summary: | Units for statistics of host NICs are wrong: BYTES_PER_SECOND should be MEGABYTES_PER_SECOND. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Julio Entrena Perez <jentrena> |
| Component: | ovirt-engine-restapi | Assignee: | Alona Kaplan <alkaplan> |
| Status: | CLOSED ERRATA | QA Contact: | GenadiC <gcheresh> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.1.0 | CC: | dyasny, ecohen, iheim, jentrena, mpastern, oramraz, pep, Rhev-m-bugs, sgrinber, ykaul |
| Target Milestone: | --- | ||
| Target Release: | 3.2.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | network | ||
| Fixed In Version: | SF9 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-10 21:28:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
cross api standard is BYTES_PER_SECOND, Ravi, if it's reported in MEGABYTES_PER_SECOND, please convert to MEGABYTES_PER_SECOND Same problem for vm nics. (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 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. Verified in SF9 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 |
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: