Merge "Fix DevStack to configure tempest's service_availability"

This commit is contained in:
Zuul 2020-01-20 13:44:18 +00:00 committed by Gerrit Code Review
commit 46fd644897

View File

@ -576,11 +576,15 @@ function configure_tempest {
# ``service_available`` # ``service_available``
# #
# this tempest service list needs to be all the services that # this tempest service list needs to be the services that
# tempest supports, otherwise we can have an erroneous set of # tempest own, otherwise we can have an erroneous set of
# defaults (something defaulting true in Tempest, but not listed here). # defaults (something defaulting true in Tempest, but not listed here).
# services tested by tempest plugins needs to be set on service devstack
# plugin side as devstack cannot keep track of all the tempest plugins
# services. Refer Bug#1743688 for more details.
# 'horizon' is also kept here as no devtack plugin for horizon.
local service local service
local tempest_services="key,glance,nova,neutron,cinder,swift,heat,ceilometer,horizon,sahara,ironic,trove" local tempest_services="key,glance,nova,neutron,cinder,swift,horizon"
for service in ${tempest_services//,/ }; do for service in ${tempest_services//,/ }; do
if is_service_enabled $service ; then if is_service_enabled $service ; then
iniset $TEMPEST_CONFIG service_available $service "True" iniset $TEMPEST_CONFIG service_available $service "True"