Description of problem: ------------------------- Version-Release number of selected component (if applicable): ----------------------- 5.4.0.5 How reproducible: ---------------- Always Steps to Reproduce: ------------------ 1.Enable C&U collection on a CFME appliance 2.Create a chargeback report based on tags or owners 3.Queue the report On my appliance.I ran the report with 3 days ago in the 'Daily ending with' drop down. Actual results: --------------- With start date 06/10 and end date 06/07,the generated report contains records for 06/07/2015 only. Expected results: ---------------- With start date 06/10 and end date 06/07,the generated report should contain records for 06/07 through 06/10.. Additional info: ---------------
After doing some research on this I've determined that this is working as expected. The Chargeback reports were originally designed to allow for reporting on only 1 day, 1 week or 1 month ending with the relative number of days, weeks or months back. I the reported case the expected result should be a report showing 1 day's worth of data ending 3 days ago (3 days back from the current date on which the report is run). This logic has been place since it was originally developed in 2010. If a date range is required it can be done as an enhancement to the existing functionality.
Gregg, In 5.3,the chargeback filter has these options: 'Daily ending with' and 'going back'.So,with these 2 options,a date range can be specified. With these selections,the chargeback report contains data from Aug 3 to July 31,2015. 'Daily ending with' - Today(partial) 'going back' - 4 days In 5.4,chargeback filter only has the 'daily ending with' option.I'd like to know why the 'going back' option has been removed in 5.4. Please let me know if you need access to my appliances for further investigation. -Nandini
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/81101c816bf50d48a1b0ea3cfd12c2dd26479229 commit 81101c816bf50d48a1b0ea3cfd12c2dd26479229 Author: Harpreet Kataria <hkataria> AuthorDate: Mon Aug 10 17:58:05 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Mon Aug 10 17:58:05 2015 -0400 Added missing case statement introduced during HAML conversion. This was preventing Going back pull down to not show up in Chargeback reports editor UI. https://bugzilla.redhat.com/show_bug.cgi?id=1230262 app/views/report/_form_filter_chargeback.html.haml | 1 + 1 file changed, 1 insertion(+)
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=509571b8ef009a92447c93b863b6e76c7e7d70d6 commit 509571b8ef009a92447c93b863b6e76c7e7d70d6 Author: Harpreet Kataria <hkataria> AuthorDate: Tue Aug 11 10:08:18 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Tue Aug 11 10:08:18 2015 -0400 Added missing case statement introduced during HAML conversion. This was preventing Going back pull down to not show up in Chargeback reports editor UI. https://bugzilla.redhat.com/show_bug.cgi?id=1230262 https://bugzilla.redhat.com/show_bug.cgi?id=1252474 vmdb/app/views/report/_form_filter_chargeback.html.haml | 1 + 1 file changed, 1 insertion(+)
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=9ebb102a0ee22891aa5bb3bda7be19a5798bde57 commit 9ebb102a0ee22891aa5bb3bda7be19a5798bde57 Merge: 42f127d 509571b Author: Dan Clarizio <dclarizi> AuthorDate: Tue Aug 11 16:54:48 2015 -0400 Commit: Dan Clarizio <dclarizi> CommitDate: Tue Aug 11 16:54:48 2015 -0400 Merge branch '54z_bz_1252474' into '5.4.z' Added missing case statement introduced during HAML conversion. This was preventing Going back pull down to not show up in Chargeback reports editor UI. https://bugzilla.redhat.com/show_bug.cgi?id=1230262 https://bugzilla.redhat.com/show_bug.cgi?id=1252474 @dclarizio clean patch was applied from upstream original PR: https://github.com/ManageIQ/manageiq/pull/3788 See merge request !219 vmdb/app/views/report/_form_filter_chargeback.html.haml | 1 + 1 file changed, 1 insertion(+)
*** Bug 1254993 has been marked as a duplicate of this bug. ***
https://github.com/ManageIQ/manageiq/pull/4081
Detected commit referencing this ticket while ticket status is POST.
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/c75ff21d6a1dd2149aedadd016564034d013dd07 commit c75ff21d6a1dd2149aedadd016564034d013dd07 Author: Harpreet Kataria <hkataria> AuthorDate: Thu Aug 27 12:33:06 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Thu Aug 27 12:33:06 2015 -0400 Fixed HAML indentation so "going back" title is displayed. https://bugzilla.redhat.com/show_bug.cgi?id=1230262 https://bugzilla.redhat.com/show_bug.cgi?id=1252474 app/views/report/_form_filter_chargeback.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=994922149f41c53131b1672b1206f69e25c53244 commit 994922149f41c53131b1672b1206f69e25c53244 Author: Harpreet Kataria <hkataria> AuthorDate: Thu Aug 27 14:54:19 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Thu Aug 27 14:54:19 2015 -0400 Fixed HAML indentation so "going back" title is displayed. https://bugzilla.redhat.com/show_bug.cgi?id=1230262 https://bugzilla.redhat.com/show_bug.cgi?id=1252474 vmdb/app/views/report/_form_filter_chargeback.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=1196c6440e9181a243d6471578095d6ebf192be9 commit 1196c6440e9181a243d6471578095d6ebf192be9 Merge: 83e434d 9949221 Author: Dan Clarizio <dclarizi> AuthorDate: Thu Aug 27 17:13:52 2015 -0400 Commit: Dan Clarizio <dclarizi> CommitDate: Thu Aug 27 17:13:52 2015 -0400 Merge branch '54z_bz_1252474' into '5.4.z' Fixed HAML indentation so "going back" title is displayed. https://bugzilla.redhat.com/show_bug.cgi?id=1230262 https://bugzilla.redhat.com/show_bug.cgi?id=1252474 @dclarizio clean patch was applied. original PR: https://github.com/ManageIQ/manageiq/pull/4081 See merge request !239 vmdb/app/views/report/_form_filter_chargeback.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Verified in 5.5.0.2
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://access.redhat.com/errata/RHSA-2015:2551