Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1350906 - Suspicious values in Chargeback for Containers
Suspicious values in Chargeback for Containers
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: C&U Capacity and Utilization (Show other bugs)
5.6.0
Unspecified Unspecified
high Severity high
: GA
: 5.6.1
Assigned To: Ari Zellner
Einat Pacifici
container:c&u
: ZStream
Depends On: 1332686
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-28 13:20 EDT by John Prause
Modified: 2016-08-19 15:29 EDT (History)
11 users (show)

See Also:
Fixed In Version: 5.6.1.2
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1332686
Environment:
Last Closed: 2016-08-18 13:52:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
screenshots of rate and report (235.47 KB, application/x-gzip)
2016-07-28 04:40 EDT, Einat Pacifici
no flags Details
Verified bug - rate + generated report (252.39 KB, application/x-gzip)
2016-08-01 04:55 EDT, Einat Pacifici
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1634 normal SHIPPED_LIVE Important: CFME 5.6.1 security, bug fix, and enhancement update 2016-08-18 17:43:52 EDT

  None (edit)
Comment 1 Federico Simoncelli 2016-07-12 19:28:47 EDT
Ari shouldn't this be on POST?
Comment 3 Einat Pacifici 2016-07-28 04:40 EDT
Created attachment 1184952 [details]
screenshots of rate and report
Comment 4 Einat Pacifici 2016-07-28 04:41:04 EDT
Added Screenshots - Ari is currently investigating.
Comment 5 Ari Zellner 2016-07-28 05:03:00 EDT
I checked it out and the values make sense:
On that environment ran 2 pods under the project named default.
yesterday they each produced metrics for 13 hours.

the rate is $1 per hour so for 27/7/2016 the fixed rate would be $1 * 2pods * 13 = $26

Code used to test this:
irb(main):037:0> id=ContainerProject.find_by_name('default'); MetricRollup.where(:resource_id => ContainerGroup.where('container_project_id = ? or old_container_project_id = ?', id, id).select(:id), :resource_type => 'ContainerGroup').where('timestamp > \'2016-07-27 00:00:00\' and timestamp < \'2016-07-28 00:00:00\'').pluck(:timestamp,:resource_id).count
=> 26
Comment 6 Einat Pacifici 2016-08-01 04:55 EDT
Created attachment 1186300 [details]
Verified bug - rate + generated report

Bug verified. 
See final rate sheet and generated report.
Comment 8 errata-xmlrpc 2016-08-18 13:52:40 EDT
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.

https://rhn.redhat.com/errata/RHSA-2016-1634.html

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