Bug 913081 - [rhevm-reports] - RFE BR44 - Calculate the correct time for a partial hour or less than 1Hour (CCP (certified cloud provider) report)
Summary: [rhevm-reports] - RFE BR44 - Calculate the correct time for a partial hour or...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-reports
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.2.0
Assignee: Yaniv Lavi
QA Contact: David Botzer
URL:
Whiteboard: infra
Depends On:
Blocks: 917401
TreeView+ depends on / blocked
 
Reported: 2013-02-20 10:24 UTC by David Botzer
Modified: 2016-02-10 19:04 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
The Cloud Provider Virtual Machine Inventory report now displays the correct amount of time for sessions of less than one hour.
Clone Of:
Environment:
Last Closed: 2013-06-10 22:04:10 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:
dyasny: Triaged+


Attachments (Terms of Use)
BR44 (37.00 KB, image/png)
2013-02-20 10:24 UTC, David Botzer
no flags Details
Fixed-sf9 (30.32 KB, image/png)
2013-03-10 06:22 UTC, David Botzer
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:0887 0 normal SHIPPED_LIVE rhevm-reports 3.2 bug fix and enhancement update 2013-06-11 01:16:42 UTC
oVirt gerrit 12446 0 None None None Never

Description David Botzer 2013-02-20 10:24:16 UTC
Created attachment 699931 [details]
BR44

Description of problem:

Data in BR44 CCP (certified cloud provider) for partial hour or less than 1Hour is not calculated correctly

e.x when Time is less 1 hour
0.32 is not accurate display, can we translate 0.32 to 20min, or
1/3 or a tooltip ?

In addition to PRD32 
Bug 883137 - (vm_inventory_report) PRD32 - [RFE] [rhevm-reports] CCP (certified cloud provider) report

Version-Release number of selected component (if applicable):
3.2/SF7

How reproducible:
always

Steps to Reproduce:
1.install rhevm+report+dwh
2.create some VMs
3.Open BR44
4.Examine the Report right away and verify the uptime when its less than 1H
5.wait for data to aggregate 2D and more
6.Repeat 4-5

  
Actual results:
when its less than 1H display 0.32

Expected results:
When uptime is less than 1H, data should display correctly (0.32 = 1/3H or 20min)

When its more than 1H calculate correctly
e.x 354.54H the .54 should be correct

Additional info:

Comment 1 Yaniv Lavi 2013-02-20 10:43:00 UTC
Dan, do you want me to round to hour or add a tooltip?




Yaniv

Comment 2 Dan Yasny 2013-02-20 11:18:15 UTC
(In reply to comment #1)
> Dan, do you want me to round to hour or add a tooltip?
> 
> 
> 
> 
> Yaniv

Can't we just show hour:minute ?

Comment 3 Yaniv Lavi 2013-02-20 11:25:25 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Dan, do you want me to round to hour or add a tooltip?
> > 
> > 
> > 
> > 
> > Yaniv
> 
> Can't we just show hour:minute ?

It will cause sorting to stop working.

Comment 4 Dan Yasny 2013-02-21 12:17:14 UTC
I see, a tooltip then. Will it show in an exported report though?

Comment 5 Yaniv Lavi 2013-02-24 11:21:34 UTC
(In reply to comment #4)
> I see, a tooltip then. Will it show in an exported report though?

no

Comment 7 David Botzer 2013-03-10 06:22:16 UTC
Fixed, 3.2/sf9
Shows correct tool tip for existence time below 1H
e.x 0.16 --> 9M
Fixed, 3.2/sf9

Comment 8 David Botzer 2013-03-10 06:22:59 UTC
Created attachment 707738 [details]
Fixed-sf9

Comment 9 errata-xmlrpc 2013-06-10 22:04:10 UTC
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/RHEA-2013-0887.html


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