Troubleshooting#
This guide provides steps to diagnose and resolve common issues with the AMD Network Operator.
Checking Operator Status#
To check the status of the AMD Network Operator:
kubectl get pods -n kube-amd-network
Collecting Logs#
To collect logs from the AMD Network Operator:
kubectl logs -n kube-amd-network <pod-name>
Using Techsupport-dump Tool#
The techsupport-dump tool collects system state and logs for debugging purposes. It can be run from any node in the cluster, including control plane nodes.
./tools/techsupport_dump.sh [-w] [-o yaml/json] [-k kubeconfig] <node-name/all>
Options:
-w: wide option-o yaml/json: output format (default: json)-k kubeconfig: path to kubeconfig (default: ~/.kube/config)
TechSupport Collects#
Kubernetes resources from the
network-operator,nfd, andkmmnamespaces, including:Pods
DaemonSets
Deployments
ConfigMaps
NetworkConfigresources
Pod logs from components such as:
Node Feature Discovery (NFD)
Kernel Module Management (KMM)
Network Operator (Data Plane, Metrics Exporter, CNI plugins)
System-level diagnostics:
lsmodoutput (loaded kernel modules)dmesgoutput (kernel ring buffer)
Verifying Driver Modules#
On OpenShift with KMM, verify whether the loaded kernel module is the out-of-tree
(KMM-managed) version or the in-box RHEL version by comparing srcversion:
# What's running in memory
cat /sys/module/ionic/srcversion
# In-box version on disk
modinfo -F srcversion /lib/modules/$(uname -r)/kernel/drivers/net/ethernet/pensando/ionic/ionic.ko.xz
# Out-of-tree version (if on disk)
modinfo -F srcversion /opt/lib/modules/$(uname -r)/extra/ionic.ko
If the loaded srcversion matches the in-box file, the KMM out-of-tree driver did not load correctly.
Note:
modinfo -F filename ionicalways shows the on-disk in-box path regardless of which version is actually loaded in memory. Do not use it to determine the active driver.