Bug 1986061
| Summary: | cluster network operator deploys a service monitor which is never picked up by cluster monitoring operator | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Simon Pasquier <spasquie> |
| Component: | Networking | Assignee: | Christoph Stäbler <cstabler> |
| Networking sub component: | openshift-sdn | QA Contact: | zhaozhanqi <zzhao> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | low | CC: | aconstan, dkiselev |
| Version: | 4.8 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: CNO deploys a service monitor for the network-check-source service without correct annotations and RBAC to get discovered by Prometheus.
Consequence: The service and its metrics never show up in Prometheus.
Fix: Adding the correct annotations the the namespace of network-check-source service and add missing RBAC.
Result: Metrics of service network-check-source get scraped by Prometheus.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:41:12 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
Simon Pasquier
2021-07-26 15:35:45 UTC
Additional information: I've noticed about it because this service monitor starts to show up in the user-workload Prometheus once you enable it. Verified this bug on 4.9.0-0.nightly-2021-09-05-204238 Check "pod_network_connectivity_check_count" in console --> Observe -> Metrics Data can be found. 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security 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-2021:3759 *** Bug 2027290 has been marked as a duplicate of this bug. *** |