Merge "Fix database_max_retries for Ironic services"
This commit is contained in:
commit
010c4759ee
@ -38,19 +38,20 @@ prepare_network_config(hiera_hash('network_scheme', {}))
|
||||
$baremetal_vip = $network_metadata['vips']['baremetal']['ipaddr']
|
||||
|
||||
class { 'ironic':
|
||||
verbose => $verbose,
|
||||
debug => $debug,
|
||||
rabbit_hosts => $rabbit_hosts,
|
||||
rabbit_port => $amqp_port,
|
||||
rabbit_userid => $rabbit_hash['user'],
|
||||
rabbit_password => $rabbit_hash['password'],
|
||||
amqp_durable_queues => $amqp_durable_queues,
|
||||
control_exchange => 'ironic',
|
||||
use_syslog => $use_syslog,
|
||||
log_facility => $syslog_log_facility_ironic,
|
||||
database_connection => $database_connection,
|
||||
glance_api_servers => $glance_api_servers,
|
||||
sync_db => $primary_controller,
|
||||
verbose => $verbose,
|
||||
debug => $debug,
|
||||
rabbit_hosts => $rabbit_hosts,
|
||||
rabbit_port => $amqp_port,
|
||||
rabbit_userid => $rabbit_hash['user'],
|
||||
rabbit_password => $rabbit_hash['password'],
|
||||
amqp_durable_queues => $amqp_durable_queues,
|
||||
control_exchange => 'ironic',
|
||||
use_syslog => $use_syslog,
|
||||
log_facility => $syslog_log_facility_ironic,
|
||||
database_connection => $database_connection,
|
||||
database_max_retries => '-1',
|
||||
glance_api_servers => $glance_api_servers,
|
||||
sync_db => $primary_controller,
|
||||
}
|
||||
|
||||
# TODO (iberezovskiy): Move to globals (as it is done for sahara)
|
||||
|
@ -47,18 +47,19 @@ package { 'ironic-fa-deploy':
|
||||
}
|
||||
|
||||
class { '::ironic':
|
||||
verbose => $verbose,
|
||||
debug => $debug,
|
||||
enabled_drivers => ['fuel_ssh', 'fuel_ipmitool', 'fake', 'fuel_libvirt'],
|
||||
rabbit_hosts => $rabbit_hosts,
|
||||
rabbit_userid => $rabbit_hash['user'],
|
||||
rabbit_password => $rabbit_hash['password'],
|
||||
amqp_durable_queues => $amqp_durable_queues,
|
||||
control_exchange => 'ironic',
|
||||
use_syslog => $use_syslog,
|
||||
log_facility => $syslog_log_facility_ironic,
|
||||
database_connection => $database_connection,
|
||||
glance_api_servers => $glance_api_servers,
|
||||
verbose => $verbose,
|
||||
debug => $debug,
|
||||
enabled_drivers => ['fuel_ssh', 'fuel_ipmitool', 'fake', 'fuel_libvirt'],
|
||||
rabbit_hosts => $rabbit_hosts,
|
||||
rabbit_userid => $rabbit_hash['user'],
|
||||
rabbit_password => $rabbit_hash['password'],
|
||||
amqp_durable_queues => $amqp_durable_queues,
|
||||
control_exchange => 'ironic',
|
||||
use_syslog => $use_syslog,
|
||||
log_facility => $syslog_log_facility_ironic,
|
||||
database_connection => $database_connection,
|
||||
database_max_retries => '-1',
|
||||
glance_api_servers => $glance_api_servers,
|
||||
}
|
||||
|
||||
class { '::ironic::client': }
|
||||
|
@ -20,11 +20,12 @@ if ironic_enabled
|
||||
|
||||
it 'should declare ironic class correctly' do
|
||||
should contain_class('ironic').with(
|
||||
'rabbit_userid' => rabbit_user,
|
||||
'rabbit_password' => rabbit_password,
|
||||
'sync_db' => primary_controller,
|
||||
'control_exchange' => 'ironic',
|
||||
'amqp_durable_queues' => amqp_durable_queues,
|
||||
'rabbit_userid' => rabbit_user,
|
||||
'rabbit_password' => rabbit_password,
|
||||
'sync_db' => primary_controller,
|
||||
'control_exchange' => 'ironic',
|
||||
'amqp_durable_queues' => amqp_durable_queues,
|
||||
'database_max_retries' => '-1',
|
||||
)
|
||||
end
|
||||
|
||||
|
@ -17,11 +17,12 @@ describe manifest do
|
||||
|
||||
it 'should declare ironic class correctly' do
|
||||
should contain_class('ironic').with(
|
||||
'rabbit_userid' => rabbit_user,
|
||||
'rabbit_password' => rabbit_password,
|
||||
'enabled_drivers' => ['fuel_ssh', 'fuel_ipmitool', 'fake', 'fuel_libvirt'],
|
||||
'control_exchange' => 'ironic',
|
||||
'amqp_durable_queues' => amqp_durable_queues,
|
||||
'rabbit_userid' => rabbit_user,
|
||||
'rabbit_password' => rabbit_password,
|
||||
'enabled_drivers' => ['fuel_ssh', 'fuel_ipmitool', 'fake', 'fuel_libvirt'],
|
||||
'control_exchange' => 'ironic',
|
||||
'amqp_durable_queues' => amqp_durable_queues,
|
||||
'database_max_retries' => '-1',
|
||||
)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user