devstack check neutron-qos available

check neutron-qos available before adding neutron_qos data source
to Congress. Avoids the data source update errors arising from
adding the data source when the qos extension is not available.

Release-team: devstack plugin change only

Change-Id: Ie5b10b20f11f109bb7159d43a0f5303508b00f78
This commit is contained in:
Eric K 2018-08-02 17:58:59 -07:00 committed by Eric Kao
parent 5a5c514b16
commit 783842d087
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ function configure_congress {
function configure_congress_datasources {
_configure_service neutron neutronv2
_configure_service neutron neutronv2_qos
_configure_service neutron-qos neutronv2_qos
_configure_service nova nova
_configure_service key keystonev3
_configure_service cinder cinder
@ -94,7 +94,7 @@ function _configure_tempest {
# set correctly due to different env setup scenario, so it is
# better to set it explicitly here.
local service
local required_services="heat,ironic,aodh,murano,mistral,monasca"
local required_services="heat,ironic,aodh,murano,mistral,monasca,neutron-qos"
for service in ${required_services//,/ }; do
if is_service_enabled $service ; then
iniset $TEMPEST_CONFIG service_available $service "True"