aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-03-05 11:00:14 +0000
committerGerrit Code Review <review@openstack.org>2021-03-05 11:00:14 +0000
commitf325add2e29f8a683fd603f885e26f799de4ab6e (patch)
treebd6b3bb8052a87e1e4dd6bf88e5073161670db56 /tests
parentaad7a731aadc3ebf0e37938a9a78d09545caa49f (diff)
parent3c5ccb915e785e4fa928519b3e4f21686266fbb6 (diff)
downloadkolla-ansible-f325add2e29f8a683fd603f885e26f799de4ab6e.tar.gz
kolla-ansible-f325add2e29f8a683fd603f885e26f799de4ab6e.zip
Merge "CI: octavia: remove octavia from magnum scenario"
Diffstat (limited to 'tests')
-rw-r--r--tests/run.yml7
-rwxr-xr-xtests/setup_gate.sh4
-rw-r--r--tests/templates/globals-default.j21
-rwxr-xr-xtests/test-magnum.sh13
4 files changed, 6 insertions, 19 deletions
diff --git a/tests/run.yml b/tests/run.yml
index a8c7411a3..710b6846f 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -264,13 +264,6 @@
docker_image_tag: "{{ build_image_tag if need_build_image else (zuul.branch | basename) ~ docker_image_tag_suffix }}"
docker_image_prefix: "{{ 'primary:4000/lokolla/' if need_build_image else 'kolla/' }}"
- # NOTE(yoctozepto): k-a octavia-certificates should run before k-a bootstrap-servers
- # because the latter hijacks /etc/kolla permissions (due to same directory on the
- # same host being used by both)
- - name: create TLS certificates for octavia
- command: kolla-ansible octavia-certificates
- when: scenario == 'magnum'
-
# NOTE(mgoddard): We are using the script module here and later to ensure
# we use the local copy of these scripts, rather than the one on the remote
# host, which could be checked out to a previous release (in an upgrade
diff --git a/tests/setup_gate.sh b/tests/setup_gate.sh
index f59357a81..cf5838df0 100755
--- a/tests/setup_gate.sh
+++ b/tests/setup_gate.sh
@@ -18,7 +18,7 @@ function setup_openstack_clients {
packages+=(python-ironicclient python-ironic-inspector-client)
fi
if [[ $SCENARIO == magnum ]]; then
- packages+=(python-designateclient python-magnumclient python-octaviaclient python-troveclient)
+ packages+=(python-designateclient python-magnumclient python-troveclient)
fi
if [[ $SCENARIO == masakari ]]; then
packages+=(python-masakariclient)
@@ -66,7 +66,7 @@ function prepare_images {
GATE_IMAGES+=",^dnsmasq,^ironic,^iscsid"
fi
if [[ $SCENARIO == "magnum" ]]; then
- GATE_IMAGES+=",^designate,^magnum,^octavia,^trove"
+ GATE_IMAGES+=",^designate,^magnum,^trove"
fi
if [[ $SCENARIO == "masakari" ]]; then
GATE_IMAGES+=",^masakari"
diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2
index 1e553487c..b9e0aa6c3 100644
--- a/tests/templates/globals-default.j2
+++ b/tests/templates/globals-default.j2
@@ -162,7 +162,6 @@ enable_prometheus_openstack_exporter: "no"
enable_designate: "yes"
enable_magnum: "yes"
enable_trove: "yes"
-enable_octavia: "yes"
{% endif %}
{% if scenario == "monasca" %}
diff --git a/tests/test-magnum.sh b/tests/test-magnum.sh
index 6919f675d..7917b1e5d 100755
--- a/tests/test-magnum.sh
+++ b/tests/test-magnum.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Test deployment of magnum, octavia and designate.
+# Test deployment of magnum, trove and designate.
set -o xtrace
set -o errexit
@@ -14,10 +14,6 @@ function test_magnum_clusters {
openstack coe cluster template list
}
-function test_octavia {
- openstack loadbalancer list
-}
-
function test_trove {
# smoke test
openstack database instance list
@@ -66,19 +62,18 @@ function test_magnum_logged {
. /etc/kolla/admin-openrc.sh
. ~/openstackclient-venv/bin/activate
test_magnum_clusters
- test_octavia
test_designate
test_trove
}
function test_magnum {
- echo "Testing Magnum, Octavia, Trove and Designate"
+ echo "Testing Magnum, Trove and Designate"
test_magnum_logged > /tmp/logs/ansible/test-magnum 2>&1
result=$?
if [[ $result != 0 ]]; then
- echo "Testing Magnum, Octavia, Trove and Designate failed. See ansible/test-magnum for details"
+ echo "Testing Magnum, Trove and Designate failed. See ansible/test-magnum for details"
else
- echo "Successfully tested Magnum, Octavia, Trove and Designate . See ansible/test-magnum for details"
+ echo "Successfully tested Magnum, Trove and Designate . See ansible/test-magnum for details"
fi
return $result
}