Browse code

Neutron.conf is not setup unless q-svc is enabled

In a multi-node environment, a node may have the neutron-
openvswitch-agent running but not the neutron API server.
The agent uses neutron.conf as one of the configuration
files. Devstack sets up neutron.conf only when q-svc is
enabled. Neutron.conf also needs to be configured when
q-agt is enabled.

Change-Id: I3d454caff0b49a61ee1a78f68b1bca98e29f21de
Closes-Bug: 1184064

Stephen Ma authored on 2014/04/02 11:13:09
Showing 1 changed files
... ...
@@ -274,7 +274,7 @@ function configure_neutron {
274 274
     if is_service_enabled q-fwaas; then
275 275
         _configure_neutron_fwaas
276 276
     fi
277
-    if is_service_enabled q-svc; then
277
+    if is_service_enabled q-agt q-svc; then
278 278
         _configure_neutron_service
279 279
     fi
280 280
     if is_service_enabled q-agt; then