Bug 2280342
| Summary: | ServiceMonitor ramen-hub-operator-metrics-monitor selector too open | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Shyamsundar <srangana> |
| Component: | odf-dr | Assignee: | rakesh-gm <rgowdege> |
| odf-dr sub component: | ramen | QA Contact: | Sidhant Agrawal <sagrawal> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | muagarwa, rgowdege, sheggodu |
| Version: | 4.16 | ||
| Target Milestone: | --- | ||
| Target Release: | ODF 4.16.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.16.0-102 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-17 13:22:31 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: | |||
|
Description
Shyamsundar
2024-05-14 11:16:47 UTC
Moving the non-blocker BZ out of ODF-4.16.0 due to blocker only phase. If this BZ should be considered as blocker, feel free to propose it back with justification note. (In reply to Sunil Kumar Acharya from comment #3) > Moving the non-blocker BZ out of ODF-4.16.0 due to blocker only phase. If > this BZ should be considered as blocker, feel free to propose it back with > justification note. This issue has a fix backport here: https://github.com/red-hat-storage/ramen/pull/268 (IOW in POST state). The issue deals with ServiceMonitor being too open and hence hitting other pods, which is better fixed sooner than later. As a result requesting back 4.16 flags on this BZ. What would be the steps to verify this bug? (In reply to krishnaram Karthick from comment #7) > What would be the steps to verify this bug? 1) ServiceMonitor named ramen-hub-operator-metrics-monitor should have its spec.selector include "app: ramen-hub" 2) Service, Deployment for Ramen in the same namespace should have the "app: ramen-hub" label (this was already the case, but need to validate now) 3) Metrics should work as expected, i.e prometheus should be able to still collect Ramen metrics (even if we check the default policy metric for configured DRPolicies that is enough validation) NOTE: There are no changes to the dr-cluster components, so only hub validation for the above is required on a fresh install. An upgrade should also "fix" the ServiceMonitor label selector. 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 |