Bug 1587857

Summary: Chargeback scheduled report for the current month shows double rates and values as compared to previous one
Product: Red Hat CloudForms Management Engine Reporter: Nikhil Gupta <ngupta>
Component: ReportingAssignee: Libor Pichler <lpichler>
Status: CLOSED CURRENTRELEASE QA Contact: Tasos Papaioannou <tpapaioa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.8.0CC: cpelland, gtanzill, jprause, jrafanie, knakai, lpichler, obarenbo, simaishi, smallamp, takirby, tpapaioa, yrudman
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1593677 1593678 (view as bug list) Environment:
Last Closed: 2019-02-11 14:01:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1593677, 1593678    

Description Nikhil Gupta 2018-06-06 08:12:27 UTC
Description of problem:
Chargeback scheduled report for the current month shows double rates and values as compared to previous one.

In April month report, vCPU(Core) value as 8 and Memory(GB) as 16 for a VM, which is correct as per the assigned resources.

In May month report, the above values are updated to 16 and 32 respectively. There is no change in VM configuration.

This is impacting chargeback capability.


Version-Release number of selected component (if applicable):
CloudForms Version: CFME-5.8.2.3-1
OpenStack Version: OSP10-20170920

How reproducible:
Always

Steps to Reproduce:
1. Create a chargeback report
2. Schedule it on a monthly basis


Actual results:
Chargeback report shows double rates as compared to previous month.

Expected results:
Chargeback report should show approximately same rates as compared to previous month.

Comment 5 Nikhil Gupta 2018-06-14 23:25:09 UTC
Hi Team,

This issue is very important. Could you please check this issue and provide a hotfix for version CFME-5.8.2.3-1?

Regards,
Niks

Comment 9 Gregg Tanzillo 2018-06-19 13:25:43 UTC
https://github.com/ManageIQ/manageiq/pull/17606

Comment 16 Tasos Papaioannou 2018-07-09 19:22:23 UTC
Verified on 5.10.0.3.