Bug 2272928

Summary: Consumption trend displays only current date in the graph. Not showing previous days.
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Nagendra Reddy <nagreddy>
Component: management-consoleAssignee: Divyansh Kamboj <dkamboj>
Status: CLOSED ERRATA QA Contact: Nagendra Reddy <nagreddy>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.16CC: dkamboj, nthomas, odf-bz-bot, skatiyar, tdesala
Target Milestone: ---Keywords: TestBlocker
Target Release: ODF 4.16.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.16.0-85 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-17 13:17:47 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: 2275965    
Bug Blocks:    

Description Nagendra Reddy 2024-04-03 10:14:27 UTC
Created attachment 2024954 [details]
today graph

Description of problem (please be detailed as possible and provide log
snippests):
 Consumption trend in the odf dashboard displays only current date as multiple values. Actually it should display previous days as well in the "Storage consumption per day" graph.

I have used cluster for 2 days.

I can see only today date in the x axis of the graph.

Version of all relevant components (if applicable):


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?
y

Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1.
2.
3.


Actual results:


Expected results:


Additional info:

Comment 10 Divyansh Kamboj 2024-04-16 08:15:30 UTC
> Is it calculating days based on time? for example, I have started using the cluster from yesterday 12PM, will it consider till today 11:59AM as 1 day? 

it's displaying based on time. the fix is up for this issue now

Comment 20 Sanjal Katiyar 2024-04-23 07:57:19 UTC
*** Bug 2276577 has been marked as a duplicate of this bug. ***

Comment 23 Nagendra Reddy 2024-04-29 06:26:32 UTC
@Divyansh,

The storage consumption in the graph started from 25th April, but the graph in consumption trend displays from 26th April. Since the storage consumption started at 18:00hrs on 25th April it is not showing the start date as 25th? Please refer snapshots and confirm if no changes are required.

Comment 26 Divyansh Kamboj 2024-04-29 07:13:26 UTC
> The storage consumption in the graph started from 25th April, but the graph in consumption trend displays from 26th April. Since the storage consumption started at 18:00hrs on 25th April it is not showing the start date as 25th? Please refer snapshots and confirm if no changes are required.

the graph is correct, the storage consumption starts from 25th april, but it starts from 6pm. we can see in the graph that it's going before 26th, it's compressed to fit in the view of the widget

Comment 29 errata-xmlrpc 2024-07-17 13:17:47 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 (Important: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix update), 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-2024:4591

Comment 30 Red Hat Bugzilla 2024-11-15 04:25:27 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days