Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2034410

Summary: Metallb BGP, BFD: prometheus is not scraping the frr metrics
Product: OpenShift Container Platform Reporter: elevin
Component: NetworkingAssignee: obraunsh
Networking sub component: Metal LB QA Contact: Arti Sood <asood>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs, obraunsh
Version: 4.10   
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:35:34 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 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