Skip to content

Commit e226013

Browse files
committed
Add ethtool -k and ethtool -l to must gather collected data
Signed-off-by: Mario Fernandez <mariofer@redhat.com>
1 parent 500868f commit e226013

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

must-gather/collection-scripts/gather_nodes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ do
6363
oc exec $pod -n perf-node-gather -- lscpu -e > $NODE_PATH/lscpu
6464
oc exec $pod -n perf-node-gather -- cat /proc/cmdline > $NODE_PATH/proc_cmdline
6565
oc exec $pod -n perf-node-gather -- dmesg > $NODE_PATH/dmesg
66+
oc exec $pod -n perf-node-gather -- ethtool -k eth0 > $NODE_PATH/ethtool_features
67+
oc exec $pod -n perf-node-gather -- ethtool -l eth0 > $NODE_PATH/ethtool_channels
68+
6669
COLLECTABLE_NODES+=($node)
6770

6871
oc exec $pod -n perf-node-gather -- gather_sysinfo --json cpuaff --procfs=/host/proc --sysfs=/host/sys > $NODE_PATH/cpu_affinities.json

openshift-ci/Dockerfile.must-gather

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM quay.io/openshift/origin-must-gather:4.10.0 AS builder
22

33
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
4-
RUN microdnf install -y pciutils util-linux hostname rsync tar
4+
RUN microdnf install -y pciutils util-linux hostname rsync tar ethtool
55

66
# Copy must-gather required binaries
77
COPY --from=builder /usr/bin/openshift-must-gather /usr/bin/openshift-must-gather

0 commit comments

Comments
 (0)