Bug 1727765 - wrong data in Reports list table
Summary: wrong data in Reports list table
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.2.0
Assignee: David Taylor
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-08 06:33 UTC by Yadan Pei
Modified: 2019-10-16 06:33 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:33:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ReportsListTable (44.02 KB, image/png)
2019-07-08 06:53 UTC, Yadan Pei
no flags Details
NewReportsTable (188.63 KB, image/png)
2019-07-12 08:13 UTC, Yadan Pei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 1952 0 None None None 2019-07-08 15:55:29 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:33:19 UTC

Description Yadan Pei 2019-07-08 06:33:15 UTC
Description of problem:
Reports list table has wrong data

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

How reproducible:
Always

Steps to Reproduce:
1. Enable Metering, admin user goes to Administration -> Chargeback page, create an example Report using `Create Report` button
2. Check table on Reports list page


Actual results:
2. Report Query is shown only resource type, resource name and a link is missed
Data in Reporting Start and Reporting End are wrongly shown in table
Also Reporting End data is not calculated correctly

Expected results:
2. Table columns should be set with correct data

Additional info:

Comment 1 Yadan Pei 2019-07-08 06:53:17 UTC
Created attachment 1588248 [details]
ReportsListTable

Comment 3 David Taylor 2019-07-08 14:34:44 UTC
UPDATE: I am now able to see Report Queries listing, and I can now see a Report details page/Usage Report.  It seems maybe Pods weren't fully initialized, even thought they initially reported 'Ready', I went back and checked and saw one as something other than 'Ready', then it resolved, and from that point forward I seem to be able to see Reports and Report Queries.

Comment 4 David Taylor 2019-07-08 14:38:24 UTC
I am able to reproduce and see the missing Report Query link/text, and the issues with Reporting Start and End dates.

Comment 5 Samuel Padgett 2019-07-09 14:16:06 UTC
Looks like you've gotten past the proxy problem.

Comment 6 Samuel Padgett 2019-07-09 14:16:28 UTC
https://github.com/openshift/console/pull/1952

Comment 8 Yadan Pei 2019-07-11 07:13:44 UTC
Metering installation is blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1728223, will check on a new build when bug fix is available

Comment 9 Yadan Pei 2019-07-12 08:13:11 UTC
Reports List table now in correct format and with correct values

Verified on 4.2.0-0.nightly-2019-07-11-114243

Comment 10 Yadan Pei 2019-07-12 08:13:59 UTC
Created attachment 1589785 [details]
NewReportsTable

Comment 11 errata-xmlrpc 2019-10-16 06:33:09 UTC
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/RHBA-2019:2922


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