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:
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 ***
https://bugzilla.redhat.com/show_bug.cgi?id=2272928 is already in MODIFIED state... so we should be getting new build soon.
(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.
> 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
> 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)