Skip to content

Commit

Permalink
Closes-Bug: #1536375 - HA provisioning failed due to neutron config e…
Browse files Browse the repository at this point in the history
…rrors

Wrong if condition
Rabbit port redeclaration of param error
Rabbit Ha queues cannot be set directly (Refer bug 1536753)

Change-Id: I639bb86e8386333e6e0e2968d6059dda265ae044
  • Loading branch information
nitishkrishna committed Jan 22, 2016
1 parent a463267 commit 845edc6
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -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',
Expand Down Expand Up @@ -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'},
Expand Down

0 comments on commit 845edc6

Please sign in to comment.