Collecting Antrea Support Bundles for SSP and SSP-I
search cancel

Collecting Antrea Support Bundles for SSP and SSP-I

book

Article ID: 431882

calendar_today

Updated On:

Products

VMware vDefend Firewall VMware vDefend Firewall with Advanced Threat Prevention

Issue/Introduction

This guide provides the step-by-step procedure for generating and collecting Antrea diagnostic support bundles from the SSP-Installer VM.

These bundles are essential for troubleshooting network-related issues within your SSP and SSP-I environments.

Prerequisites

  • Access to the SSP-Installer VM via SSH.

  • Sufficient disk space to store the generated .tar.gz files.

Resolution

Procedure

Login to the SSP-Installer using sysadmin/root based on the version(root if SSP version = 5.0, sysadmin if SSP version > 5.0)

Phase 1: Prepare the Antrea Control Tool

Before collecting logs, you must extract the antctl binary from the running controller pod.

  1. Identify the Antrea Controller Pod:

    kubectl get pods -n kube-system | grep antrea-controller
    
  2. Copy the binary to your local directory:

    kubectl cp kube-system/<POD_NAME>:/usr/local/bin/antctl ./antctl
    
  3. Set executable permissions:

    chmod +x ./antctl
    

Phase 2: Generate the SSP (Workload) Support Bundle

This phase collects data specifically for the workload cluster.

  1. Locate your Kubeconfig path: Run the following command and look for the path ending in .kubeconfig (e.g., /config/clusterctl/1/sspXXX.kubeconfig):

    cat /config/clusterctl/k_alias_wrapper.sh
    
  2. Generate the bundle:

    ./antctl supportbundle --kubeconfig <PATH_TO_YOUR_KUBECONFIG> -d ./workload-antrea-diagnostics
    
  3. Compress the output:

    tar -czvf workload-antrea-bundle.tar.gz ./workload-antrea-diagnostics
    

Note: If support only requests the Workload Cluster bundle, you may stop here.

Phase 3: Generate the SSP-I Support Bundle

This phase collects data for the SSP-Installer infrastructure.

  1. Generate the bundle:

    ./antctl supportbundle -d ./sspi-antrea-diagnostics
    
  2. Compress the output:

    tar -czvf sspi-antrea-bundle.tar.gz ./sspi-antrea-diagnostics
    

Summary of Files to Upload

Once completed, please upload the following files to the SR through support portal:

  • workload-antrea-bundle.tar.gz

  • sspi-antrea-bundle.tar.gz

  • Standard SSP and SSPI support bundles (as per usual process).