Execute neutron-db-manage only if q-svc is enabled
In case devsatck is executed in a multihost environment on the host where only q-agt is enabled for example it is not necessary to execute neutron-db-manage command. Change-Id: Id0eb972c5fd364efe2ce84f088db83c33cff9e79
This commit is contained in:
parent
351c1fbed5
commit
04d9000eed
@ -37,7 +37,9 @@ if is_service_enabled taas; then
|
|||||||
install_taas
|
install_taas
|
||||||
elif [[ "$2" == "post-config" ]]; then
|
elif [[ "$2" == "post-config" ]]; then
|
||||||
configure_taas_plugin
|
configure_taas_plugin
|
||||||
neutron-db-manage --subproject tap-as-a-service upgrade head
|
if is_service_enabled q-svc neutron-api; then
|
||||||
|
neutron-db-manage --subproject tap-as-a-service upgrade head
|
||||||
|
fi
|
||||||
echo "Configuring taas"
|
echo "Configuring taas"
|
||||||
if [ "$TAAS_SERVICE_DRIVER" ]; then
|
if [ "$TAAS_SERVICE_DRIVER" ]; then
|
||||||
inicomment $TAAS_PLUGIN_CONF_FILE service_providers service_provider
|
inicomment $TAAS_PLUGIN_CONF_FILE service_providers service_provider
|
||||||
|
Loading…
Reference in New Issue
Block a user