Browse code

Update cirros image to cirros-0.5.1

New cirros with recent fixes for metadata service
has been released. [1]
Let's update the image version in gate.

This also includes a fix to pass image name to SDK tests.

[1] https://github.com/cirros-dev/cirros/pull/11/commits/e40bcd2964aa496a9d03e1aaf95cf7a86938f129

Change-Id: I6ccd646f1c22a99bed0bebf6e363d2190241b667
Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>

Maciej Józefczyk authored on 2020/03/06 00:55:50
Showing 2 changed files
... ...
@@ -129,6 +129,11 @@ function write_clouds_yaml {
129 129
         --os-password $ADMIN_PASSWORD \
130 130
         --os-system-scope all
131 131
 
132
+    cat >> $CLOUDS_YAML <<EOF
133
+functional:
134
+  image_name: $DEFAULT_IMAGE_NAME
135
+EOF
136
+
132 137
     # CLean up any old clouds.yaml files we had laying around
133 138
     rm -f $(eval echo ~"$STACK_USER")/.config/openstack/clouds.yaml
134 139
 }
... ...
@@ -676,7 +676,7 @@ esac
676 676
 #IMAGE_URLS="http://smoser.brickies.net/ubuntu/ttylinux-uec/ttylinux-uec-amd64-11.2_2.6.35-15_1.tar.gz" # old ttylinux-uec image
677 677
 #IMAGE_URLS="http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-disk.img" # cirros full disk image
678 678
 
679
-CIRROS_VERSION=${CIRROS_VERSION:-"0.4.0"}
679
+CIRROS_VERSION=${CIRROS_VERSION:-"0.5.1"}
680 680
 CIRROS_ARCH=${CIRROS_ARCH:-"x86_64"}
681 681
 
682 682
 # Set default image based on ``VIRT_DRIVER`` and ``LIBVIRT_TYPE``, either of