Bug 1361222 - Chargeback per time is limited to hourly
Summary: Chargeback per time is limited to hourly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Reporting
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: 5.8.0
Assignee: Libor Pichler
QA Contact: Nandini Chandra
URL:
Whiteboard: chargeback
Depends On:
Blocks: 1410535
TreeView+ depends on / blocked
 
Reported: 2016-07-28 14:18 UTC by Sergio Ocón-Cárdenas
Modified: 2020-04-15 14:35 UTC (History)
10 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1410535 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:48:53 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ui screenshot (324.46 KB, image/png)
2016-08-15 15:10 UTC, Kevin Morey
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1337278 0 urgent CLOSED Inaccurate chargeback cost reported with tiered rates 2021-02-22 00:41:40 UTC
Red Hat Knowledge Base (Solution) 2841691 0 None None None 2017-01-04 07:05:22 UTC

Description Sergio Ocón-Cárdenas 2016-07-28 14:18:51 UTC
Description of problem:
When calculating the rates using tiers, selection of tier to be used for rating is not working properly.
As C&U data is generated hourly, when finding the tier to use it applies that to the hourly C&U data, and not to the proper amount (i.e. daily or monthly amount), thus returning a different tier than expected. 

Version-Release number of selected component (if applicable):
4.1

How reproducible:
Always

Steps to Reproduce:
-------------------
1.Define a custom tiered rate for a metric; for eg: CPU used
2.Create a chargeback report based on the tiered rate.

Actual results:
The per time is only allowed to be hourly

Expected results:
Per time should be a selection of options (hourly, daily, weekly, monthly), and rate should be applied properly

Additional info:
Original bug has additional information about the error

Comment 3 Kevin Morey 2016-08-15 15:10:40 UTC
Created attachment 1190928 [details]
ui screenshot

Comment 10 Nandini Chandra 2017-02-27 20:59:40 UTC
Verified in 5.8.0.2


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