Ari shouldn't this be on POST?
Created attachment 1184952 [details] screenshots of rate and report
Added Screenshots - Ari is currently investigating.
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
Created attachment 1186300 [details] Verified bug - rate + generated report Bug verified. See final rate sheet and generated report.
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