Bug 2276577 - Storage consumption shows only for 1 day ["Over the past 1 day"] always even though the cluster is 5 days older.
Summary: Storage consumption shows only for 1 day ["Over the past 1 day"] always even ...
Keywords:
Status: CLOSED DUPLICATE of bug 2272928
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.16
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Nishanth Thomas
QA Contact: Prasad Desala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-23 07:42 UTC by Nagendra Reddy
Modified: 2024-04-24 08:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-23 07:57:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Nagendra Reddy 2024-04-23 07:42:53 UTC
Created attachment 2028466 [details]
storage consumption shown only for 1 day.

Description of problem (please be detailed as possible and provide log
snippests):
 Storage consumption should show for the past days up to 30. I have been using this cluster since 5 days. It is displaying only "Over the past 1 day" always.

Version of all relevant components (if applicable):
odf: 4.16.0-81.stable
ocp: 4.16.0-0.nightly-2024-04-18-141003
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?
Yes

Can this issue reproduce from the UI?


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


Steps to Reproduce:
1. Deployed cluster and started filling storage gradually.
2. Its been 5days the cluster in use.
3. Storage consumption shows only for 1 day.


Actual results:
 Storage consumption shows only for 1 day

Expected results:
Storage consumption should show for past 30 days atleast.

Additional info:

Comment 4 Sanjal Katiyar 2024-04-23 07:57:19 UTC
We already have BZ for this: https://bugzilla.redhat.com/show_bug.cgi?id=2272928, is there a reason for creating a duplicate ??

Also, regarding "Storage consumption should show for the past days up to 30." >> this is not always true, it depends upon user settings and how much data Prometheus is retaining.

*** This bug has been marked as a duplicate of bug 2272928 ***

Comment 5 Sanjal Katiyar 2024-04-23 07:58:00 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=2272928 is already in MODIFIED state... so we should be getting new build soon.

Comment 6 Nagendra Reddy 2024-04-23 12:36:05 UTC
(In reply to Sanjal Katiyar from comment #4)
> We already have BZ for this:
> https://bugzilla.redhat.com/show_bug.cgi?id=2272928, is there a reason for
> creating a duplicate ??
> 
> Also, regarding "Storage consumption should show for the past days up to
> 30." >> this is not always true, it depends upon user settings and how much
> data Prometheus is retaining.
> 
> *** This bug has been marked as a duplicate of bug 2272928 ***

What would be the default value without any customisation? I didn't change any settings, it used to display the count of all previous days, at least I verified till 5 before. With latest kits, we are seeing this issue.

Comment 7 Divyansh Kamboj 2024-04-23 12:52:20 UTC
> What would be the default value without any customisation? I didn't change any settings, it used to display the count of all previous days, at least I verified till 5 before. With latest kits, we are seeing this issue.

the issue shows up because of mgr pod's going on standby, so creates a discrepency. which was the same issue we had in the other BZ, it's now on modified, to track mgr failover as well

Comment 8 Sanjal Katiyar 2024-04-23 13:24:07 UTC
> What would be the default value without any customisation?
OCP's default retention of Prometheus is 15 days, which is the MAXIMUM value. Actual value (ODF related metrics/data) could be equal or less than this default (depends upon when ODF related metrics/data started to get pushed in the OCP's instance of Prometheus).
Ref: https://docs.openshift.com/container-platform/4.13/observability/monitoring/configuring-the-monitoring-stack.html#modifying-retention-time-and-size-for-prometheus-metrics-data_configuring-the-monitoring-stack if need to explore in detail.

> It used to display the count of all previous
It should display "count <= retention period" in happy path scenario ("less than or equal to" because of same reason as above)

> With latest kits, we are seeing this issue.
https://bugzilla.redhat.com/show_bug.cgi?id=2276577#c5 which in-turn depends upon https://bugzilla.redhat.com/show_bug.cgi?id=2275965, we can test this out once 2272928 & 2275965 are ON_QA (both BZ contains same fix, so same build will have the corresponding changes)


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