From 845edc6b59531713aea780b7fc7925b2d3bbcd0c Mon Sep 17 00:00:00 2001 From: nitishkrishna Date: Fri, 22 Jan 2016 10:48:17 -0800 Subject: [PATCH] Closes-Bug: #1536375 - HA provisioning failed due to neutron config errors Wrong if condition Rabbit port redeclaration of param error Rabbit Ha queues cannot be set directly (Refer bug 1536753) Change-Id: I639bb86e8386333e6e0e2968d6059dda265ae044 --- .../environment/modules/contrail/manifests/config/neutron.pp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrail/environment/modules/contrail/manifests/config/neutron.pp b/contrail/environment/modules/contrail/manifests/config/neutron.pp index 38a86a8b..0886866e 100644 --- a/contrail/environment/modules/contrail/manifests/config/neutron.pp +++ b/contrail/environment/modules/contrail/manifests/config/neutron.pp @@ -33,6 +33,7 @@ class { '::neutron': rabbit_host => $::contrail::params::amqp_server_ip_to_use, + rabbit_port => $contrail_rabbit_port, bind_port => $::contrail::params::quantum_port, auth_strategy => 'keystone', core_plugin => 'neutron_plugin_contrail.plugins.opencontrail.contrail_plugin.NeutronPluginContrailCoreV2', @@ -77,13 +78,11 @@ } create_resources(neutron_config, $neutron_contrail_params, {} ) # Openstack HA specific config - if (($internal_vip != '') and (!("openstack" in $contrail_host_roles))) { + if (($internal_vip != '')) { $neutron_ha_params = { - 'DEFAULT/rabbit_port' => {value => '5673'}, 'DEFAULT/rabbit_retry_interval' => { value => '1'}, 'DEFAULT/rabbit_retry_backoff' => {value => '2'}, 'DEFAULT/rabbit_max_retries' => { value => '0'}, - 'DEFAULT/rabbit_ha_queues' => { value => 'True'}, 'DEFAULT/rpc_cast_timeout' => {value => '30'}, 'DEFAULT/rpc_conn_pool_size' => {value => '40'}, 'DEFAULT/rpc_response_timeout' => { value => '60'},