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

Ignore device list missing in Node Exporter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.13.0
    • Monitoring
    • Important
    • No
    • Approved
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-8215. The following is the description of the original issue:

      Description of problem:

      When setting no configuration for node-exporter in CMO config, we did not see the 2 arguments collector.netclass.ignored-devices and collector.netdev.device-exclude in node-exporter daemonset, full info see: http://pastebin.test.redhat.com/1093428
      
      and checked in 4.13.0-0.nightly-2023-02-27-101545, no configuration for node-exporter, there is collector.netclass.ignored-devices setting
      see from: http://pastebin.test.redhat.com/1093429
      
      after disabled netdev/netclass on bot cluster, would see collector.netclass.ignored-devices and collector.netdev.device-exclude settings in node-exporter, since OCPBUGS-7282 is filed on 4.12, disable netdev/netclass is not supported then, I don't think we should disable netdev/netclass
      
      $ oc -n openshift-monitoring get ds node-exporter -oyaml | grep collector
              - --no-collector.wifi
              - --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|run/k3s/containerd/.+|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
              - --collector.netclass.ignored-devices=^(veth.*|[a-f0-9]{15}|enP.*|ovn-k8s-mp[0-9]*|br-ex|br-int|br-ext|br[0-9]*|tun[0-9]*|cali[a-f0-9]*)$
              - --collector.netdev.device-exclude=^(veth.*|[a-f0-9]{15}|enP.*|ovn-k8s-mp[0-9]*|br-ex|br-int|br-ext|br[0-9]*|tun[0-9]*|cali[a-f0-9]*)$
              - --collector.cpu.info
              - --collector.textfile.directory=/var/node_exporter/textfile
              - --no-collector.cpufreq
              - --no-collector.tcpstat
              - --no-collector.netdev
              - --no-collector.netclass
              - --no-collector.buddyinfo
              - '[[ ! -d /node_exporter/collectors/init ]] || find /node_exporter/collectors/init
      

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

      4.13
      

      How reproducible:

      
      

      Steps to Reproduce:

      The 2 arguments are missing when booting up OCP with default configurations for CMO.
      

      Actual results:

      The 2 arguments collector.netclass.ignored-devices and collector.netdev.device-exclude are missing in node-exporter DaemonSet.
      

      Expected results:

      The 2 arguments collector.netclass.ignored-devices and collector.netdev.device-exclude are present in node-exporter DaemonSet.
      

      Additional info:

      
      

              spasquie@redhat.com Simon Pasquier
              openshift-crt-jira-prow OpenShift Prow Bot
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: