From a239c369e54ae36e2b752ea52f9f096b4debc6b8 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Wed, 26 Oct 2016 15:22:27 -0500 Subject: [PATCH] Add configuration options to enable ironic testing . The openstack-ansible-os_tempest playbooks create the tempest.conf file based on a jinja2 template and a number of input variables. A section of the tempest.conf file defines which services are enabled. Currently, the option to enable the ironic service does not exist. Adding the variable into the jinja template and making it default to disabled will provide the functionality required to enable the service. Change-Id: I6a97063c55dadbb7304f49456afd0cb2ce108531 Closes-Bug: #1636310 --- defaults/main.yml | 1 + templates/tempest.conf.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index e635d35c..26131acb 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -112,6 +112,7 @@ tempest_service_available_cinder: True tempest_service_available_glance: True tempest_service_available_heat: True tempest_service_available_horizon: True +tempest_service_available_ironic: False tempest_service_available_neutron: True tempest_service_available_nova: True tempest_service_available_sahara: False diff --git a/templates/tempest.conf.j2 b/templates/tempest.conf.j2 index 85b5a847..8c702863 100644 --- a/templates/tempest.conf.j2 +++ b/templates/tempest.conf.j2 @@ -165,6 +165,7 @@ heat = {{ tempest_service_available_heat }} ceilometer = {{ tempest_service_available_ceilometer }} horizon = {{ tempest_service_available_horizon }} aodh = {{ tempest_service_available_aodh }} +ironic = {{ tempest_service_available_ironic }} sahara = {{ tempest_service_available_sahara }} zaqar = {{ tempest_service_available_zaqar }}