Browse code

Always pass $NEUTRON_CONF

When running a compute node that only runs n-cpu and neutron-agent,
there are still configuration items that are needed by the agent that
reside in $NEUTRON_CONF - such as the rabbit rpc information.

Change-Id: Ib7f5dde3afb0c19dc88f351c99bc669217952a14

Sean M. Collins authored on 2016/05/13 01:04:03
Showing 1 changed files
... ...
@@ -451,11 +451,7 @@ function stop_neutron_new {
451 451
 # Compile the lost of enabled config files
452 452
 function _set_config_files {
453 453
 
454
-    #TODO(sc68cal) - see if we can clean up this and only
455
-    # pass in config files that make sense for certain agents
456
-    if is_service_enabled neutron-api; then
457
-        NEUTRON_CONFIG_ARG+=" --config-file $NEUTRON_CONF"
458
-    fi
454
+    NEUTRON_CONFIG_ARG+=" --config-file $NEUTRON_CONF"
459 455
 
460 456
     #TODO(sc68cal) OVS and LB agent uses settings in NEUTRON_PLUGIN_CONF (ml2_conf.ini) but others may not
461 457
     if is_service_enabled neutron-agent; then