Copy nova-api-paste.ini if n-api* is enabled

In multi node devstack using multi-host nova-networking, n-api-meta runs
on every machine but n-api only runs on the API node. So copy
nova-api-paste.ini if any version of n-api* is running.

Change-Id: I323f39f5080b94e22907a173a1a2bc4a324567b8
This commit is contained in:
Joe Gordon 2014-11-25 19:07:11 -08:00
parent 8fcccca9be
commit ea70cc9471

View File

@ -257,7 +257,7 @@ function configure_nova {
configure_nova_rootwrap
if is_service_enabled n-api; then
if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
# Remove legacy paste config if present
rm -f $NOVA_DIR/bin/nova-api-paste.ini