Skip to content

Commit

Permalink
Closes-Bug: #1469264 - Neutron notification_driver param set incorrec…
Browse files Browse the repository at this point in the history
…tly.

Previously it was being set to empty if ceilometer was not enabled.
Patch 2:
- Reverting change to set this config for Ceilometer
- Whatever is the default value when neutron is installed, that will be taken
Patch 3:
- Missed removing one line

Change-Id: I557d7e3bcb8a4d9002fe65ccdc015212534055dd
  • Loading branch information
nitishkrishna committed Jun 29, 2015
1 parent e1c2521 commit 228aba8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions contrail/environment/modules/neutron/manifests/init.pp
Expand Up @@ -189,11 +189,6 @@
# If set to boolean false, it will not log to any directory
# Defaults to /var/log/neutron
#
# [*notification_driver*]
# (optional) Driver or drivers to handle sending notifications.
# Value can be a string or a list.
# Defaults to []
#
class neutron (
$enabled = true,
$package_ensure = 'present',
Expand Down Expand Up @@ -251,7 +246,6 @@
$log_facility = 'LOG_USER',
$log_file = false,
$log_dir = '/var/log/neutron',
$notification_driver = '',
) {

include neutron::params
Expand Down Expand Up @@ -321,7 +315,6 @@
'DEFAULT/allow_overlapping_ips': value => $allow_overlapping_ips;
'DEFAULT/control_exchange': value => $control_exchange;
'DEFAULT/rpc_backend': value => $rpc_backend;
'DEFAULT/notification_driver': value => $notification_driver;
'agent/root_helper': value => $root_helper;
'agent/report_interval': value => $report_interval;
}
Expand Down
Expand Up @@ -5,12 +5,6 @@
# This follows the suggest deployment from the neutron Administrator Guide.
class openstack::common::contrail::neutron {
$controller_management_address = $::openstack::config::controller_address_management
$enable_ceilometer = $::contrail::params::enable_ceilometer
if ($enable_ceilometer) {
$notification_driver = 'neutron.openstack.common.notifier.rpc_notifier'
} else {
$notification_driver = ''
}

$data_network = $::openstack::config::network_data
$data_address = ip_for_network($data_network)
Expand Down Expand Up @@ -38,7 +32,6 @@
debug => $::openstack::config::debug,
verbose => $::openstack::config::verbose,
service_plugins => ['neutron_plugin_contrail.plugins.opencontrail.loadbalancer.plugin.LoadBalancerPlugin'],
notification_driver => $notification_driver,
}

class { '::neutron::server':
Expand Down

0 comments on commit 228aba8

Please sign in to comment.