Update the cirros version to "0.3.5"

Refer to
https://docs.openstack.org/ocata/install-guide-rdo/glance-verify.html

Change-Id: I84f081c8a387dcf4b98e7decac5fcae8e1e48283
This commit is contained in:
ZhongShengping 2017-10-31 15:54:03 +08:00
parent 0720e3cc01
commit 988fa0a371
3 changed files with 6 additions and 6 deletions

View File

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

View File

@ -248,7 +248,7 @@ class openstack_integration::tempest (
db_flavor_ref => '42', db_flavor_ref => '42',
image_ssh_user => 'cirros', image_ssh_user => 'cirros',
image_alt_ssh_user => 'cirros', image_alt_ssh_user => 'cirros',
img_file => 'cirros-0.3.4-x86_64-disk.img', img_file => 'cirros-0.3.5-x86_64-disk.img',
compute_build_interval => 10, compute_build_interval => 10,
ca_certificates_file => $::openstack_integration::params::ca_bundle_cert_path, ca_certificates_file => $::openstack_integration::params::ca_bundle_cert_path,
manage_tests_packages => true, manage_tests_packages => true,

View File

@ -144,11 +144,11 @@ if [[ ! -e $IMG_DIR ]]; then
mkdir -p $IMG_DIR mkdir -p $IMG_DIR
fi fi
if [ -f ~/cache/files/cirros-0.3.4-x86_64-disk.img ]; then if [ -f ~/cache/files/cirros-0.3.5-x86_64-disk.img ]; then
# Create a symlink for tempest. # Create a symlink for tempest.
ln -s ~/cache/files/cirros-0.3.4-x86_64-disk.img $IMG_DIR ln -s ~/cache/files/cirros-0.3.5-x86_64-disk.img $IMG_DIR
else else
wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img -P $IMG_DIR wget http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img -P $IMG_DIR
fi fi
install_puppet install_puppet