Bug 2034410 - Metallb BGP, BFD: prometheus is not scraping the frr metrics
Summary: Metallb BGP, BFD: prometheus is not scraping the frr metrics
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.0
Assignee: obraunsh
QA Contact: Arti Sood
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-20 20:33 UTC by elevin
Modified: 2022-04-21 19:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:35:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift metallb-operator pull 51 0 None open Bug 2034410: D/S only: Deploy ServiceMonitors 2021-12-28 14:21:31 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:35:49 UTC

Description elevin 2021-12-20 20:33:04 UTC
Description of problem:
Can not find any BFD, BGP related metrics in Prometheus pods

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Configure BGP +BFD
2. oc exec prometheus-k8s-0 -n openshift-monitoring -- curl localhost:9090/api/v1/query?query=metallb_bfd_control_packet_input
3.

Actual results:
oc exec prometheus-k8s-0 -n openshift-monitoring -- curl localhost:9090/api/v1/query?query=metallb_bfd_control_packet_input
Defaulting container name to prometheus.
Use 'oc describe pod/prometheus-k8s-0 -n openshift-monitoring' to see all of the containers in this pod.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    63  100    63    0     0  63000      0 --:--:-- --:--:-- --:--:-- 63000{"status":"success","data":{"resultType":"vector","result":[]}}


Expected results:
oc exec prometheus-k8s-0 -n openshift-monitoring -- curl localhost:9090/api/v1/query?query=metallb_bfd_control_packet_input
Defaulting container name to prometheus.
Use 'oc describe pod/prometheus-k8s-0 -n openshift-monitoring' to see all of the containers in this pod.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   346  100   346    0     0   168k      0 --:--:-- --:--:-- --:--:--  168k
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"metallb_bfd_control_packet_input","container":"frr-metrics","endpoint":"monitoring","instance":"10.46.55.117:7473","job":"metallb-system/metallb-speaker","namespace":"metallb-system","peer":"10.46.55.37","pod":"speaker-n6lzz"},"value":[1639999734.644,"15709"]}]}}

Additional info:

Comment 8 errata-xmlrpc 2022-03-10 16:35:34 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 (Moderate: OpenShift Container Platform 4.10.3 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-2022:0056


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