Installing Avi Vantage with Red Hat OpenStack Platform (OSP) 13 for Neutron

Overview

This guide explains the steps to be followed to install Avi Vantage with OSP 13 Neutron from Red Hat (OpenStack Queens). This environment has been certified by Red Hat.

Note: Avi Vantage supports Red Hat OpenStack Platform 14 also.

Deploying Avi within OSP 13

Following are the steps to deploy Avi Vantage within OSP 13:

  1. Create a new yaml file.
  2. Update the qcow2 for the Overcloud.
  3. Update the Overcloud Glance images to use the new image.

Following are the detailed steps to deploy the Overcloud:

Step 1: Create a file called neutron-avi.yaml to deploy the Overcloud.


parameter_defaults:
  NeutronServiceProviders: LOADBALANCERV2:avi_adc:avi_lbaasv2.avi_driver.AviDriver:default
  ControllerExtraConfig:
     neutron::config::server_config:
      avi_adc/cloud:
         value: Default-Cloud
      avi_adc/address:
         value: 10.10.100.10
      avi_adc/user:
         value: admin
      avi_adc/password:
         value: avi123
      avi_adc/vrf_content_per_subnet:
         value: True
      avi_adc/use_placement_network_for_pool:
         value: False
      avi_adc/cert_verify:
         value: False
 
  NeutronApiOptVolumes:
     - /usr/share/avi_lbaasv2:/usr/lib/python2.7/site-packages/avi_lbaasv2:ro 

Step 2: To copy the Avi Neutron parameters section, add the following code to prepare the Overcloud qcow2 for OSP 13.

git clone https://github.com/avinetworks/openstack-lbaasv2
 
cd openstack-lbaasv2
tar -cvf avi_lbaasv2.tar avi_lbaasv2
virt-copy-in -a /home/stack/images/overcloud-full.qcow2 /home/stack/images/avi_lbaasv2.tar /root
virt-customize -a /home/stack/images/overcloud-full.qcow2 --run-command 'mkdir /usr/share/avi_lbaasv2; cp /root/avi_lbaasv2.tar /usr/share/avi_lbaasv2; cd /usr/share/avi_lbaasv2; tar -xf avi_lbaasv2.tar' --selinux-relabel
virt-ls -a /home/stack/images/overcloud-full.qcow2 /usr/share/avi_lbaasv2

Step 3: Upload the modified Overcloud image to Glance.

openstack overcloud image upload --image-path ~/images/ --update-existing     

Step 4: Deploy the Overcloud with the new updated glance image.

Note: In the deployment script, you should use neutron-lbaasv2.yaml file before the neutron-avi.yaml file. Else, the script will overwrite the variables and will not work.