From ea70cc94719b140f90fb3a3d86e37bd543146ee3 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Tue, 25 Nov 2014 19:07:11 -0800 Subject: [PATCH] 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 --- lib/nova | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nova b/lib/nova index 78906f7210..9a8614b47a 100644 --- a/lib/nova +++ b/lib/nova @@ -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