Bug 1984753
Summary: | Node exporter veth optimizations do not work if the network type is OVN | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Simon Pasquier <spasquie> |
Component: | Monitoring | Assignee: | Philip Gough <pgough> |
Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.8 | CC: | alegrand, amuller, anpicker, aos-bugs, browsell, erooth, janantha, juzhao, kakkoyun, keyoung, pnair, spasquie |
Target Milestone: | --- | ||
Target Release: | 4.8.z | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1973491 | Environment: | |
Last Closed: | 2021-09-07 04:14:05 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1973491 | ||
Bug Blocks: |
Comment 2
Junqi Zhao
2021-08-16 06:33:17 UTC
tested with openshift/cluster-monitoring-operator/pull/1323 baremetal ovn cluster, # oc -n openshift-monitoring get ds node-exporter -oyaml ... spec: containers: - args: - --web.listen-address=127.0.0.1:9100 - --path.sysfs=/host/sys - --path.rootfs=/host/root - --no-collector.wifi - --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/) - --collector.netclass.ignored-devices=^(veth.*|[a-f0-9]{15})$ - --collector.netdev.device-exclude=^(veth.*|[a-f0-9]{15})$ - --collector.cpu.info - --collector.textfile.directory=/var/node_exporter/textfile - --no-collector.cpufreq ... # oc get infrastructures/cluster -o jsonpath="{..status.platform}" None # oc get network/cluster -oyaml ... spec: clusterNetwork: - cidr: 10.128.0.0/14 hostPrefix: 23 externalIP: policy: {} networkType: OVNKubernetes serviceNetwork: - 172.30.0.0/16 ... # oc debug node/worker-0.ci-ln-h1s0ngb-86010.origin-ci-int-aws.dev.rhcloud.com sh-4.4# chroot /host sh-4.4# dmesg | grep 'renamed from veth' [ 140.926085] e6439c25e8c2ca6: renamed from vetheb2ef091 [ 140.938519] 284c1f65fb6066f: renamed from vethd0d2c727 [ 145.340974] 521ef85a66cdc65: renamed from vethfb46bb33 [ 145.353725] 65bc4aa2d50c0ef: renamed from veth7b885cc3 [ 152.245913] bcec5e4bb6abefc: renamed from veth7a7b3026 [ 152.270706] 745c167f0ab1d3a: renamed from veth6751b160 [ 152.296985] f92b4417038d5d5: renamed from vethd5973676 [ 165.004155] a6cc4e149aaaa8b: renamed from veth1684c118 [ 165.391228] 9d91b177119d720: renamed from veth14dc08ad [ 165.407889] 48ae68c9545e985: renamed from vethaf841d72 [ 165.438373] 0058da4ad2d0e6f: renamed from veth9ab46033 [ 208.033108] aad741b2fd097a3: renamed from veth4276e458 [ 248.532324] a9c0f728185d91b: renamed from veth90fa735b [ 860.631500] 71f32b0a9d7e0c2: renamed from veth707d94ef [ 910.526090] 0082d05b3de07e0: renamed from vethfe275372 checked from API, there is not node_network_info for device which renamed from 'veth**' example # token=`oc sa get-token prometheus-k8s -n openshift-monitoring` # oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -H "Authorization: Bearer $token" 'https://prometheus-k8s.openshift-monitoring.svc:9091/api/v1/query?query=node_network_info' | jq | grep 745c167f0ab1d3a no result 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 (OpenShift Container Platform 4.8.10 bug fix 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/RHBA-2021:3299 |