Precise tempest_conf.yaml to verify Airship 63/68463/2
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 10 Sep 2019 18:01:32 +0000 (20:01 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 10 Sep 2019 20:18:17 +0000 (22:18 +0200)
It sets all max microversions according to Ocata [1][2][3] and takes
ceph into account (OpenStack and Functest gates leverage on iSCSI [4]).

[1] https://docs.openstack.org/cinder/latest/contributor/api_microversion_history.html
[2] https://docs.openstack.org/nova/latest/reference/api-microversion-history.html
[3] https://docs.openstack.org/placement/latest/placement-api-microversion-history.html
[4] https://git.opnfv.org/functest/tree/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml?h=stable%2Fhunter#n24

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ic5a8a501d83fbefadcad24d58bbc5c1e3ffcd6ce

tools/test.sh

index 3bd16b7..b6a6b48 100755 (executable)
@@ -17,8 +17,32 @@ cat > env << EOF
 EXTERNAL_NETWORK=public
 EOF
 
+cat > tempest_conf.yaml << EOF
+---
+compute:
+    max_microversion: 2.42
+compute-feature-enabled:
+    shelve: false
+    vnc_console: false
+    cold_migration: false
+    block_migration_for_live_migration: false
+identity-feature-enabled:
+    api_v2: false
+    api_v2_admin: false
+image-feature-enabled:
+    api_v2: true
+    api_v1: false
+placement:
+    max_microversion: 1.4
+volume:
+    max_microversion: 3.27
+    storage_protocol: ceph
+volume-feature-enabled:
+    backup: true
+EOF
+
 cat > openstack.creds << EOF
-export OS_AUTH_URL=http://identity-airship.intel-pod17.opnfv.org:80/v3
+export OS_AUTH_URL=http://identity-airship.intel-pod17.opnfv.org/v3
 export OS_USER_DOMAIN_NAME=default
 export OS_PROJECT_DOMAIN_NAME=default
 export OS_USERNAME=admin
@@ -50,6 +74,7 @@ run_tests() {
       -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \
       -v ${FUNCTEST_CACHE}/images:/home/opnfv/functest/images \
       -v ${FUNCTEST_CACHE}/results:/home/opnfv/functest/results \
+      -v $(pwd)/tempest_conf.yaml:/usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml \
       opnfv/functest-${1}:hunter
 }
 
@@ -60,6 +85,9 @@ case "$1" in
 'smoke')
   run_tests $1
   ;;
+'benchmarking')
+  run_tests $1
+  ;;
 'vnf')
   run_tests $1
   ;;