d9a1e8c3d6
Before switching the default machine type of instances to q35 in tripleo-heat-templates via I9f60a73577ae7cd712e2a8285abc0c0788906112 we first need to ensure that Cirros is updated to 0.5.2 that includes the ahci module [1][2]. As set out in I12e0bdb3699e5343592ab834468ba6b2fcdcaaf4 for devstack and Iad1adbc23b31dd54a96299e7a8a4b622c15eed8d for Nova this is required to allow Cirros based instances to see the now SATA based config drive cdroms attached to them during a Tempest run. [1] https://github.com/cirros-dev/cirros/releases/tag/0.5.2 [2] https://github.com/cirros-dev/cirros/pull/65 Change-Id: Ia3f839a3c5e4e4b59898c11561fe7ef7126bba5f |
||
---|---|---|
.. | ||
defaults | ||
files | ||
meta | ||
tasks | ||
templates | ||
README.md |
validate-simple
This role uses heat templates from THT to validate an OpenStack installation. By default it does a ping test between two OpenStack instances.
Role Variables
For the defaults of these variables, see the defaults/main.yml file in this role.
tenantrc
-- file containing the auth variables for the cloudvalidate_script
-- the jinja template used to create the validation scriptvalidate_template_path
-- path where the heat templates can be foundvalidate_template
-- the filename of the heat template used for validationvalidate_log
-- file to log the output of the validation scriptvalidate_stack_name
-- the name of the heat stack used for validationvalidate_success_status
-- output that signifies successful stack creationvalidate_image_file
-- name of downloaded image filevalidate_image_path
-- path to existing image file on diskvalidate_image_url
-- URL to the image files (without the filenames)image_disk
,image_initramfs
,image_kernel
-- name of the disk image, initramfs and kernel on the previous URLvalidate_image_name
-- the name used in glance for the assembled image from the previous filesvalidate_image_dir
-- directory to store the downloaded imagesrelease
-- release of the cloud to be validated (mitaka, newton, etc.); older releases use different heat commandsfloating_ip_cidr
-- the network CIDR to be used for a public floating IP network during testingpublic_net_name
,public_net_type
-- the name and type of the public neutron network, used for floating IPs during the validationpublic_net_pool_start
,public_net_pool_end
,public_net_gateway
,public_physical_network
,public_segmentation_id
-- parameters used to create the public floating IP networkvalidate_template_environment
: used to override variables inside the validation template, passed as an environment file to heatskip_pingtest_cleanup
: false/true - whether to skip pingtest stack deletion or not (default is false)
Dependencies
The role uses heat templates from the tripleo-heat-templates package/repository and downloads Cirros images during the run.
Example Playbook
---
- name: Validate the overcloud
hosts: undercloud
roles:
- validate-simple
License
Apache 2.0
Author Information
OpenStack