Chapter 10. Collect Distributed Inference with llm-d diagnostic data from OpenShift
You can collect comprehensive diagnostic data from your Distributed Inference with llm-d deployment on OpenShift by running the oc adm must-gather command with the OpenShift AI must-gather image. You can gather cluster configuration, component status, logs, and metrics in a single diagnostic bundle to send to Red Hat Support for case analysis.
Prerequisites
-
You have installed the OpenShift CLI (
oc). -
You have logged in as a user with
cluster-adminprivileges. - The Distributed Inference with llm-d application and its dependencies are deployed on the cluster.
Procedure
Run the must-gather command with the OpenShift AI must-gather image:
$ oc adm must-gather \ --image=registry.redhat.io/rhoai/odh-must-gather-rhel9:v3.4 \ -- "export COMPONENT=llm-d; /usr/bin/gather"The command creates a directory in the current path that contains the diagnostic bundle.
Optional: To also collect Workload Variant Autoscaler (WVA) diagnostics, add the
ENABLE_WVA=trueenvironment variable:$ oc adm must-gather \ --image=registry.redhat.io/rhoai/odh-must-gather-rhel9:v3.4 \ -- "export COMPONENT=llm-d; export ENABLE_WVA=true; /usr/bin/gather"Optional: To collect observability stack diagnostics, specify the monitoring namespace:
$ oc adm must-gather \ --image=registry.redhat.io/rhoai/odh-must-gather-rhel9:v3.4 \ -- "export COMPONENT=llm-d; export MONITORING_NAMESPACE=redhat-ods-monitoring; /usr/bin/gather"Locate the must-gather output directory:
$ ls -d must-gather.local.*Create a compressed archive of the diagnostic bundle:
$ tar -czf must-gather.tar.gz must-gather.local.*-
Attach the
must-gather.tar.gzfile to your Red Hat Support case.
Verification
Verify the diagnostic bundle contents:
$ tar -tzf must-gather.tar.gz | head -20The output should list diagnostic files organized by collection category, including cluster configuration, component status, logs, and metrics.
Extract and inspect the diagnostic bundle structure:
$ mkdir -p must-gather-output $ tar -xzf must-gather.tar.gz -C must-gather-output $ ls -R must-gather-output