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:
parent
8fcccca9be
commit
ea70cc9471
2
lib/nova
2
lib/nova
@ -257,7 +257,7 @@ function configure_nova {
|
|||||||
|
|
||||||
configure_nova_rootwrap
|
configure_nova_rootwrap
|
||||||
|
|
||||||
if is_service_enabled n-api; then
|
if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
|
||||||
# Remove legacy paste config if present
|
# Remove legacy paste config if present
|
||||||
rm -f $NOVA_DIR/bin/nova-api-paste.ini
|
rm -f $NOVA_DIR/bin/nova-api-paste.ini
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user