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-admin privileges.
  • The Distributed Inference with llm-d application and its dependencies are deployed on the cluster.

Procedure

  1. 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.

  2. Optional: To also collect Workload Variant Autoscaler (WVA) diagnostics, add the ENABLE_WVA=true environment 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"
  3. 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"
  4. Locate the must-gather output directory:

    $ ls -d must-gather.local.*
  5. Create a compressed archive of the diagnostic bundle:

    $ tar -czf must-gather.tar.gz must-gather.local.*
  6. Attach the must-gather.tar.gz file to your Red Hat Support case.

Verification

  • Verify the diagnostic bundle contents:

    $ tar -tzf must-gather.tar.gz | head -20

    The 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
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top