Bug 1573145
Summary: | Update hosts and vms receive_rate_percent and transmit_rate_percent network statistics precision | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine-dwh | Reporter: | Shirly Radco <sradco> |
Component: | ETL | Assignee: | Shirly Radco <sradco> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Lucie Leistnerova <lleistne> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.2.2 | CC: | apinnick, bugs, danken, dholler, lsurette, lsvaty, mburman, mgoldboi, mjankula, mperina, pstehlik, rbalakri, Rhev-m-bugs, sradco, srevivo, ykaul, ylavi |
Target Milestone: | ovirt-4.2.4 | Keywords: | ZStream |
Target Release: | --- | Flags: | rule-engine:
ovirt-4.2+
lsvaty: testing_ack+ |
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-dwh-4.2.4.3 | Doc Type: | If docs needed, set a value |
Doc Text: |
Cause:
The precision of the rx_rate, tx_rate of virtual and host network interfaces has been increased on the engine db.
Consequence:
This requires updating the dwh precision for better reporting.
Fix:
Update hosts and vms receive_rate_percent and transmit_rate_percent network statistics precision
Result:
Hosts and vms receive_rate_percent and transmit_rate_percent network statistics precision was increased on DWH.
|
Story Points: | --- |
Clone Of: | 1459908 | Environment: | |
Last Closed: | 2018-06-26 08:37:42 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Metrics | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1459908 | ||
Bug Blocks: | 1581854, 1631202 |
Description
Shirly Radco
2018-04-30 10:43:25 UTC
All rx/tx percent rate columns in dwh database changed to decimal(18, 4). But stored numbers in host_interface_samples_history - receive_rate_percent/transmit_rate_percent are without decimals. engine statistics: engine=# select * from vds_interface_statistics; id | vds_id | rx_rate 351735ba-d45f-4521-b75f-54afbc3e8ec6 | 0b15bc11-cff7-4e17-8e00-3acac5054c57 | 22.1555 | 0.1327 | dwh: ovirt_engine_history=# select * from host_interface_samples_history where host_interface_id='351735ba-d45f-4521-b75f-54afbc3e8ec6' order by history_datetime desc limit 10; history_id | history_datetime | host_interface_id | receive_rate_percent | transmit_rate_percent 526033 | 2018-06-07 13:39:51.604+02 | 351735ba-d45f-4521-b75f-54afbc3e8ec6 | 22.0000 | 0.0000 The same is with vm_interface_samples_history table. tested in ovirt-engine-dwh-4.2.4-1.el7ev.noarch A fix was required also on the engine dwh views. Also missed adding tos_project files to the patch. Please test on both master and 4.2 branches because the code is different. Requires ovirt-engine-4.2.4.4 All rx/tx percent rate columns are stored with the precision now. verified in ovirt-engine-dwh-4.3.0-0.0.master.20180607152407.el7.noarch and ovirt-engine-dwh-4.2.4.3-1.el7ev.noarch This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.4 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |