From 51783ccf383e3c04641bb4615ae57989c097b041 Mon Sep 17 00:00:00 2001 From: Flavio Fernandes Date: Mon, 16 Jun 2014 00:36:03 -0400 Subject: [PATCH] Invoke create_nova_conf_neutron from odl-compute post-install only if nova is enabled. Change-Id: I4627ab97eccd7fd4a2ffc31b6a0bb939b2343659 --- extras.d/80-opendaylight.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extras.d/80-opendaylight.sh b/extras.d/80-opendaylight.sh index bfbabc2570..b673777e3a 100644 --- a/extras.d/80-opendaylight.sh +++ b/extras.d/80-opendaylight.sh @@ -40,7 +40,9 @@ if is_service_enabled odl-compute; then elif [[ "$1" == "stack" && "$2" == "install" ]]; then install_opendaylight-compute elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then - create_nova_conf_neutron + if is_service_enabled nova; then + create_nova_conf_neutron + fi elif [[ "$1" == "stack" && "$2" == "extra" ]]; then echo_summary "Initializing OpenDaylight" ODL_LOCAL_IP=${ODL_LOCAL_IP:-$HOST_IP}