Merge "Enable/disable ironic in tempest config"
This commit is contained in:
commit
921c508027
@ -841,6 +841,7 @@ function is_service_enabled() {
|
||||
[[ ${service} == "cinder" && ${ENABLED_SERVICES} =~ "c-" ]] && return 0
|
||||
[[ ${service} == "ceilometer" && ${ENABLED_SERVICES} =~ "ceilometer-" ]] && return 0
|
||||
[[ ${service} == "glance" && ${ENABLED_SERVICES} =~ "g-" ]] && return 0
|
||||
[[ ${service} == "ironic" && ${ENABLED_SERVICES} =~ "ir-" ]] && return 0
|
||||
[[ ${service} == "neutron" && ${ENABLED_SERVICES} =~ "q-" ]] && return 0
|
||||
[[ ${service} == "trove" && ${ENABLED_SERVICES} =~ "tr-" ]] && return 0
|
||||
[[ ${service} == "swift" && ${ENABLED_SERVICES} =~ "s-" ]] && return 0
|
||||
|
@ -306,7 +306,7 @@ function configure_tempest() {
|
||||
iniset $TEMPEST_CONF cli cli_dir $NOVA_BIN_DIR
|
||||
|
||||
# service_available
|
||||
for service in nova cinder glance neutron swift heat horizon ceilometer; do
|
||||
for service in nova cinder glance neutron swift heat horizon ceilometer ironic; do
|
||||
if is_service_enabled $service ; then
|
||||
iniset $TEMPEST_CONF service_available $service "True"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user