Unable to Deploy Avi Load Balancer with VCF 9.x
search cancel

Unable to Deploy Avi Load Balancer with VCF 9.x

book

Article ID: 439227

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

While trying to deploy VMware Avi Load Balancer from the SDDC manager (VCF 9.x), you may receive the error - "AVI Loadbalancer version 31.2.1-25015167 is incompatible with NSX_T_MANAGER 9.0.2.0.25150386, VCENTER 9.0.2.0.25148086" during Avi ALB deployment with VCF 9.0.2"

Environment

  • VMware Avi Load Balancer 31.x and later
  • VMware Cloud Foundation 9.x

Cause

This issue occurs because the compatibility file /nfs/vmware/vcf/nfs-mount/compatibility/VmwareCompatibilityData.json is missing or not updated on the SDDC Manager appliance.

  • The most likely reason for the missing compatability data is that the SDDC manager was upgraded from a previous version where this directory did not exist.
  • Not Using the latest version of the VmwareCompatibilityData.json file

Resolution

Steps to check and download the compatability data:

  1. Please check the filename and product version must match as per pvc.json 
  2. The table below lists the versions of Avi

    Avi Version

    VCF version

    Avi OVA filename

    Avi product version

    31.1.1

    9.0.0

    controller-31.1.1-9122.ova

    31.1.1-24544104

    31.1.2

    9.0.1

    controller-31.1.2-9193.ova

    31.1.2-24923866

    31.2.1

    9.0.2

    controller-31.2.1-9148.ova

    31.2.1-25015167

  3. Now add the compatibility data into the SDDC manager manually
  4. If SDDC Manager lacks internet access, run the download command on a different Linux machine with access to "vvs.broadcom.com", then transfer/copy the file to the appliance.
  5. Run the following command to download the VmwareCompatibilityData.json file:
    curl --location 'https://vvs.broadcom.com/v1/products/bundles/type/vcf-lcm-v2-bundle?format=json' --header 'X-Vmw-Esp-ClientId: vcf-lcm' > VmwareCompatibilityData.json

    Note: If you download the "VmwareCompatibilityData.json" file on Bastian Host, you need to copy the file to SDDC manager's directory "/nfs/vmware/vcf/nfs-mount/compatibility/".

  6. SSH to into the SDDC Manager with the "vcf" user and elevate to "root" with "su root"
  7. Navigate into the compatability directory:
    cd /nfs/vmware/vcf/nfs-mount/compatibility/
  8. Set the correct permissions and ownership to the compatability directory
    chown vcf_lcm:vcf -R /nfs/vmware/vcf/nfs-mount/compatibility
    chmod 755 -R /nfs/vmware/vcf/nfs-mount/compatibility/
  9. Restart the LCM service on SDDC Manager for the changes to take effect:
    systemctl restart lcm


  10. Continue with Avi Load Balancer Deployment navigate into SDDC Manager UI > Inventory > Workload Domains > Action > Deploy Avi Load Balancer
  11. On selecting the version, SDDC Manager validates whether the version is compatible with VCF 9.x or not
  12. If it's compatible, it allow to continue with next step to select the flavor 

 

Note: Please refer the link to deploy Avi Load Balancer with VCF 9.x