Skip to content

Commit 51783cc

Browse files
Invoke create_nova_conf_neutron from odl-compute post-install
only if nova is enabled. Change-Id: I4627ab97eccd7fd4a2ffc31b6a0bb939b2343659
1 parent 906ffb7 commit 51783cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

extras.d/80-opendaylight.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ if is_service_enabled odl-compute; then
4040
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
4141
install_opendaylight-compute
4242
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
43-
create_nova_conf_neutron
43+
if is_service_enabled nova; then
44+
create_nova_conf_neutron
45+
fi
4446
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
4547
echo_summary "Initializing OpenDaylight"
4648
ODL_LOCAL_IP=${ODL_LOCAL_IP:-$HOST_IP}

0 commit comments

Comments
 (0)