Update the cirros version to 0.5.1

We are hitting random timeout issues when intances trying to get
metadata. This version includes a fix for this [1].

[1] e40bcd2964

Change-Id: I7ee221be2a01b0e8b22b51902a81fe29bb624db3
This commit is contained in:
Alfredo Moralejo 2021-03-02 11:53:20 +01:00 committed by Alex Schultz
parent 4d2d86e0df
commit 90671b2e0b
3 changed files with 7 additions and 7 deletions

View File

@ -84,14 +84,14 @@ class openstack_integration::provision (
container_format => 'bare',
disk_format => 'qcow2',
is_public => 'yes',
source => '/tmp/openstack/image/cirros-0.4.0-x86_64-disk.img'
source => '/tmp/openstack/image/cirros-0.5.1-x86_64-disk.img'
}
glance_image { 'cirros_alt':
ensure => present,
container_format => 'bare',
disk_format => 'qcow2',
is_public => 'yes',
source => '/tmp/openstack/image/cirros-0.4.0-x86_64-disk.img'
source => '/tmp/openstack/image/cirros-0.5.1-x86_64-disk.img'
}
Keystone_user_role['admin@openstack'] -> Glance_image<||>
}

View File

@ -259,7 +259,7 @@ class openstack_integration::tempest (
image_alt_ssh_user => 'cirros',
# TODO(emilien) optimization by 1/ using Hiera to configure Glance image source
# and 2/ if running in the gate, use /home/jenkins/cache/files/ cirros image.
img_file => '/tmp/openstack/image/cirros-0.4.0-x86_64-disk.img',
img_file => '/tmp/openstack/image/cirros-0.5.1-x86_64-disk.img',
compute_build_interval => 10,
ca_certificates_file => $::openstack_integration::params::ca_bundle_cert_path,
manage_tests_packages => true,

View File

@ -135,13 +135,13 @@ if [[ ! -e $IMG_DIR ]]; then
mkdir -p $IMG_DIR
fi
if [ -f ~/cache/files/cirros-0.4.0-x86_64-disk.img ]; then
if [ -f ~/cache/files/cirros-0.5.1-x86_64-disk.img ]; then
# Create a symlink for tempest.
if ! [ -h /tmp/openstack/image/cirros-0.4.0-x86_64-disk.img ] ; then
ln -s ~/cache/files/cirros-0.4.0-x86_64-disk.img $IMG_DIR
if ! [ -h /tmp/openstack/image/cirros-0.5.1-x86_64-disk.img ] ; then
ln -s ~/cache/files/cirros-0.5.1-x86_64-disk.img $IMG_DIR
fi
else
wget http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img -P $IMG_DIR
wget http://download.cirros-cloud.net/0.5.1/cirros-0.5.1-x86_64-disk.img -P $IMG_DIR
fi
install_puppet