Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-7282

node_exporter shouldn't collect metrics for Calico Virtual NICs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Undefined
    • 4.14.0
    • 4.12
    • Monitoring
    • None
    • +
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Before this update, the `node-exporter` collector did not exclude Calico Virtual NICs when collecting network interface metrics. This update adds the `cali[a-f0-9]*` value to the`collector.netclass.ignored-devices` list to ensure that metrics are not collected for Calico Virtual NICs. link:https://issues.redhat.com/browse/OCPBUGS-7282[OCPBUGS-7282]
      Show
      * Before this update, the `node-exporter` collector did not exclude Calico Virtual NICs when collecting network interface metrics. This update adds the `cali[a-f0-9]*` value to the`collector.netclass.ignored-devices` list to ensure that metrics are not collected for Calico Virtual NICs. link: https://issues.redhat.com/browse/OCPBUGS-7282 [ OCPBUGS-7282 ]
    • Bug Fix
    • Done

    Description

      Description of problem:

      - Calico Virtual NICs should be excluded from node_exporter collector.
      - All NICs beginning with cali* should be added to collector.netclass.ignored-devices to ensure that metrics are not collected.
      - node_exporter is meant to collect metrics for physical interfaces only. 
      

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

      OpenShift 4.12

      How reproducible:

      Always

      Steps to Reproduce:

      Run an OpenShift cluster using Calico SDN.
      Observe -> Metrics -> Run the following PromQL query: "group by(device) (node_network_info)"
      Observe that Calico Virtual NICs present. 

      Actual results:

      Calico Virtual NICs present in OCP Metrics.

      Expected results:

      Only physical network interfaces should be present.

      Additional info:

      Similar to this bug, but for Calico virtual NICs: https://issues.redhat.com/browse/OCPBUGS-1321

      Attachments

        Issue Links

          Activity

            People

              rhn-support-bburt Brian Burt
              priysing@redhat.com Priyanka Singh
              Junqi Zhao Junqi Zhao
              Brian Burt Brian Burt
              Brian Burt
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: