Update cirros image for bottlenecks 59/59659/2
authorGeorg Kunz <georg.kunz@ericsson.com>
Tue, 3 Jul 2018 21:39:22 +0000 (23:39 +0200)
committerGeorg Kunz <georg.kunz@ericsson.com>
Mon, 16 Jul 2018 07:36:00 +0000 (07:36 +0000)
The fraser-based OPNFV tools use the newer cirros-0.4.0 image and we
hence only ask users to download this version in the user guide.
This updates the bottlenecks test to comply with this.

Change-Id: I5a94d6a7196ae04e00150dc17a4a16add2d3fef6
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
etc/conf/bottlenecks_config.yml

index 76a57c3..3c92d0f 100644 (file)
@@ -19,10 +19,10 @@ bottlenecks:
     dir: '/home/opnfv/userconfig'
   pre_condition:
     - 'source /tmp/admin_rc.sh &&
-       (openstack --insecure image list | grep cirros-0.3.5 ||
-       openstack --insecure image create cirros-0.3.5
+       (openstack --insecure image list | grep cirros-0.4.0 ||
+       openstack --insecure image create cirros-0.4.0
        --disk-format qcow2 --container-format bare
-       --file /home/opnfv/userconfig/images/cirros-0.3.5-x86_64-disk.img)'
+       --file /home/opnfv/userconfig/images/cirros-0.4.0-x86_64-disk.img)'
     - 'source /tmp/admin_rc.sh &&
        (openstack --insecure flavor list | grep yardstick-flavor ||
        openstack --insecure flavor create --id 100
@@ -31,8 +31,8 @@ bottlenecks:
     - 'python /home/opnfv/bottlenecks/testsuites/run_testsuite.py testcase {{validate_testcase}} True'
   post_condition:
     - 'source /tmp/admin_rc.sh &&
-       (! openstack --insecure image list | grep cirros-0.3.5 ||
-       openstack --insecure image delete cirros-0.3.5)'
+       (! openstack --insecure image list | grep cirros-0.4.0 ||
+       openstack --insecure image delete cirros-0.4.0)'
     - 'source /tmp/admin_rc.sh &&
        (! openstack --insecure flavor list | grep yardstick-flavor ||
        openstack --insecure flavor delete yardstick-flavor)'