Empty Virtual Service packet capture generated when Controller version is 31.1.1 with Older Service Engines version 30.x and 22.x
search cancel

Empty Virtual Service packet capture generated when Controller version is 31.1.1 with Older Service Engines version 30.x and 22.x

book

Article ID: 389349

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

  • A problem exists where Virtual Service packet captures are created but remain empty when a Controller running version 31.1.1 manages Service Engines running older versions, such as 30.x or 22.x.
  • The issue stems from the Controller's attempt to apply packet capture configurations with IP filters that are not supported by these older Service Engine versions

Cause

 

  • The issue occurred because the Controller, running version 31.1.1, attempted to apply incompatible packet capture settings (capture_ip filter) to Service Engines running older versions (30.x and 22.x).
  • This incompatibility prevented the Service Engines from capturing any packet data for the virtual service.

Resolution

Work Around:

  • Option1: Upgrade the Service Engine on 31.1.1 Version (Same as Controller Version)
  • Option 2: Take a packet capture from CLI only

    Step1: Login into Controller Leader Node
    Step2: Login into shell
    Step3: Remove capture_ip setting from debug vs <vs-name>
    // Remove capture_ip flag from Debug VS
    
    admin@:~$ sudo -i
    [sudo] password for admin:
    root@:~# shell
    [admin:]: > debug virtualservice <vs-name>
    [admin:]: debugvirtualservice> latency_audit_filters
    [admin:]: debugvirtualservice:latency_audit_filters> no capture_ip
    [admin:]: debugvirtualservice:latency_audit_filters> save
    [admin:]: debugvirtualservice> capture_filters
    [admin:]: debugvirtualservice:capture_filters> no capture_ip
    [admin:]: debugvirtualservice:capture_filters> save
    [admin:]: debugvirtualservice>save
    [admin:]: >
    

    Step4: Enable / Disable Virtual Service Capture from CLI

    // Enable(Start) VS Capture from CLI
    [admin:]: > debug virtualservice <vs-name>
    [admin:]: debugvirtualservice> capture
    [admin:]: debugvirtualservice> save
    
    This will enable capture then go to the UI > Operations>Traffic Capture and you will be able to see the progress bar getting updated.
    
    // Disable(Stop) VS Capture from CLI
    [admin:]: > debug virtualservice <vs-name>
    [admin:]: debugvirtualservice> no capture
    [admin:]: debugvirtualservice> save

     

Fix Version

  • 30.2.3
  • 31.2.1