Use no-op drivers for Octavia in gate

Continue to test Heat's interaction with the Octavia API without relying on
Octavia's interaction with Nova, Neutron &c. which is known to be unstable.

Change-Id: I8765aceee09ada3086abc704b7f73ce240e21847
(cherry picked from commit 866864f7e5
 and 82e30159b5)
This commit is contained in:
Zane Bitter 2018-09-13 10:47:22 -06:00 committed by Rabi Mishra
parent 3735796c20
commit 58b3325c7d
3 changed files with 4 additions and 7 deletions

View File

@ -28,7 +28,6 @@
- ^heat/locale/.*$
- ^heat/tests/.*$
- ^releasenotes/.*$
pre-run: playbooks/get_amphora_tarball.yaml
vars:
disable_convergence: 'false'
sql: mysql

View File

@ -69,6 +69,10 @@
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OCTAVIA_AMP_IMAGE_FILE=/tmp/test-only-amphora-x64-haproxy-ubuntu-xenial.qcow2"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OCTAVIA_AMP_IMAGE_SIZE=3"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OCTAVIA_AMP_IMAGE_NAME=test-only-amphora-x64-haproxy-ubuntu-xenial"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OCTAVIA_AMPHORA_DRIVER=amphora_noop_driver"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OCTAVIA_COMPUTE_DRIVER=compute_noop_driver"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OCTAVIA_NETWORK_DRIVER=network_noop_driver"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"DISABLE_AMP_IMAGE_BUILD=True"
# enabling lbaas plugin does not enable the lbaasv2 service, explicitly enable it
services+=,q-lbaasv2,octavia,o-cw,o-hk,o-hm,o-api
export PROJECTS="openstack/barbican $PROJECTS"

View File

@ -1,6 +0,0 @@
- hosts: primary
tasks:
- name: Download amphora tarball
get_url:
url: "https://tarballs.openstack.org/octavia/test-images/test-only-amphora-x64-haproxy-ubuntu-xenial.qcow2"
dest: /tmp/test-only-amphora-x64-haproxy-ubuntu-xenial.qcow2