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
(cherry picked from commit 90671b2e0b)
This commit is contained in:
Alfredo Moralejo
2021-03-02 11:53:20 +01:00
parent 2340e58057
commit 7a66c84ebc
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

@@ -258,7 +258,7 @@ class openstack_integration::tempest (
db_flavor_ref => '42',
image_ssh_user => 'cirros',
image_alt_ssh_user => 'cirros',
img_file => 'cirros-0.4.0-x86_64-disk.img',
img_file => '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

@@ -153,13 +153,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