Skip to content

Commit ea70cc9

Browse files
committed
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
1 parent 8fcccca commit ea70cc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/nova

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function configure_nova {
257257

258258
configure_nova_rootwrap
259259

260-
if is_service_enabled n-api; then
260+
if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
261261
# Remove legacy paste config if present
262262
rm -f $NOVA_DIR/bin/nova-api-paste.ini
263263

0 commit comments

Comments
 (0)