From 8ec719b4d43a2c234442256df1ade62cc26755d6 Mon Sep 17 00:00:00 2001 From: Aaron Rosen Date: Tue, 30 Oct 2012 12:57:47 -0700 Subject: [PATCH] nova-manage network commands only when n-net enabled This patch checks if n-net is enabled rather than any nova service before creating networks through nova. Fixes bug 1073313 Change-Id: I8810737ddbb26a5e281060f5395cfad5d186b6d3 --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 366d752a53..7df32da1e3 100755 --- a/stack.sh +++ b/stack.sh @@ -1916,7 +1916,7 @@ if is_service_enabled q-svc; then fi fi -elif is_service_enabled $DATABASE_BACKENDS && is_service_enabled nova; then +elif is_service_enabled $DATABASE_BACKENDS && is_service_enabled n-net; then # Create a small network $NOVA_BIN_DIR/nova-manage network create "$PRIVATE_NETWORK_NAME" $FIXED_RANGE 1 $FIXED_NETWORK_SIZE $NETWORK_CREATE_ARGS