tripleo-quickstart-extras/roles/validate-simple
Steve Baker 6c45808360 Avoid overcloud validate timeout on stack failure
Currently the wait_for call on the validate stack does not included a
--fail-match argument. This means that if the validate heat stack goes
to CREATE_FAILED, wait_for will continue polling until --walltime.
Related-Bug: #1709327

Change-Id: I473df0dc267134d472d69ab43459ffbbd872ffa0
2017-08-13 23:12:58 +00:00
..
defaults Avoid overcloud validate timeout on stack failure 2017-08-13 23:12:58 +00:00
files validate-simple: Use custom THT templates 2017-03-06 18:12:39 +01:00
meta Ensure that each role in extras has a dependency on extras-common 2017-01-18 09:32:16 -05:00
tasks ensure template_check.stat exists 2017-06-22 17:23:04 -04:00
templates Avoid overcloud validate timeout on stack failure 2017-08-13 23:12:58 +00:00
README.md Add option to copy ready cirros images from directory 2017-06-21 18:42:24 +03:00

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 cloud
  • validate_script -- the jinja template used to create the validation script
  • validate_template_path -- path where the heat templates can be found
  • validate_template -- the filename of the heat template used for validation
  • validate_log -- file to log the output of the validation script
  • validate_stack_name -- the name of the heat stack used for validation
  • validate_success_status -- output that signifies successful stack creation
  • validate_image_file -- name of downloaded image file
  • validate_image_path -- path to existing image file on disk
  • validate_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 URL
  • validate_image_name -- the name used in glance for the assembled image from the previous files
  • validate_image_dir -- directory to store the downloaded images
  • release -- release of the cloud to be validated (mitaka, newton, etc.); older releases use different heat commands
  • floating_ip_cidr -- the network CIDR to be used for a public floating IP network during testing
  • public_net_name, public_net_type -- the name and type of the public neutron network, used for floating IPs during the validation
  • public_net_pool_start, public_net_pool_end, public_net_gateway, public_physical_network, public_segmentation_id -- parameters used to create the public floating IP network
  • validate_template_environment: used to override variables inside the validation template, passed as an environment file to heat
  • skip_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