Enable tempest offline by use_custom_images=True 23/35523/2
authorLinda Wang <wangwulin@huawei.com>
Tue, 30 May 2017 10:21:06 +0000 (10:21 +0000)
committerjose.lausuch <jose.lausuch@ericsson.com>
Wed, 31 May 2017 12:10:27 +0000 (14:10 +0200)
1. The image cirros or testvm is required for tempest.conf to run
   tempest testcases.
2. If no images are created in openstack, which just match the
   img_name_regex (default="^.*(cirros|testvm).*$"), it is needed to
   download cirros image online.

Change-Id: Ib5a38a0135b3dd80ad685e33ed35b7b6135b9c87
Signed-off-by: Linda Wang <wangwulin@huawei.com>
functest/ci/config_aarch64_patch.yaml
functest/ci/config_functest.yaml
functest/ci/config_patch.yaml

index cd395ab..80cf4cc 100644 (file)
@@ -16,6 +16,9 @@ os:
     vping:
         image_name: TestVM
 
+    tempest:
+        use_custom_images: False
+
     odl_sfc:
         image_base_url: "http://artifacts.opnfv.org/sfc/demo"
         image_name: sfc_nsh_danube
index 9b79607..5aa5bfd 100644 (file)
@@ -139,7 +139,7 @@ tempest:
     private_subnet_name: tempest-subnet
     private_subnet_cidr: 192.168.150.0/24
     router_name: tempest-router
-    use_custom_images: False
+    use_custom_images: True
     use_custom_flavors: False
     volume_device_name: vdc
 
index d47766b..ad8b088 100644 (file)
@@ -13,16 +13,13 @@ fdio:
         flavor_extra_specs: {'hw:mem_page_size':'large'}
         image_properties: {'hw_mem_page_size':'large'}
     tempest:
-        use_custom_images: True
         use_custom_flavors: True
 ovs:
     general:
         flavor_extra_specs: {'hw:mem_page_size':'large'}
         image_properties: {'hw_mem_page_size':'large'}
     tempest:
-        use_custom_images: True
         use_custom_flavors: True
 multisite:
     tempest:
-        use_custom_images: True
         use_custom_flavors: True