Skip to content

Commit

Permalink
Closes-Bug: #1571935 - Service_provider in neutron.conf was wrongly b…
Browse files Browse the repository at this point in the history
…eing set twice

This change ensures that service_provider key in neutron.conf will be set only once
Previously it was being set twice causing neutron plugin to crash

Change-Id: If095a2db66b4de11383b810da0a24cb922535df4
  • Loading branch information
nitishkrishna committed Apr 19, 2016
1 parent 20b70c9 commit 1de9999
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@
'DEFAULT/log_format' => {value => '%(asctime)s.%(msecs)d %(levelname)8s [%(name)s] %(message)s'},
'DEFAULT/api_extensions_path' => {value => "extensions:${::python_dist}/neutron_plugin_contrail/extensions" }
}
contrail::lib::augeas_conf_rm { "config_rm_service_provider":
key => 'service_provider',
config_file => '/etc/neutron/neutron.conf',
lens_to_use => 'properties.lns',
}
create_resources(neutron_config, $neutron_contrail_params, {} )
Contrail::Lib::Augeas_conf_rm['config_rm_service_provider'] -> Neutron_config['service_providers/service_provider']
# Openstack HA specific config
if (($internal_vip != '')) {
$neutron_ha_params = {
Expand Down

0 comments on commit 1de9999

Please sign in to comment.