Bug 913081

Summary: [rhevm-reports] - RFE BR44 - Calculate the correct time for a partial hour or less than 1Hour (CCP (certified cloud provider) report)
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engine-reportsAssignee: Yaniv Lavi <ylavi>
Status: CLOSED ERRATA QA Contact: David Botzer <dbotzer>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, dyasny, iheim, pstehlik, Rhev-m-bugs, ykaul, yzaslavs, zdover
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.2.0Flags: dyasny: Triaged+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-10 22:04:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 917401    
Attachments:
Description Flags
BR44
none
Fixed-sf9 none

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