ironic-inspector: Enable store backend for inspection data
... to test the set up more suitable for production use. Change-Id: I5e1dbdcaadb2ee92ad4f5c71690c0186a1b0d76b
This commit is contained in:
parent
cf25016c9b
commit
6be8573e29
@ -62,7 +62,9 @@ class { 'openstack_integration::neutron':
|
|||||||
metering_enabled => true,
|
metering_enabled => true,
|
||||||
}
|
}
|
||||||
include openstack_integration::swift
|
include openstack_integration::swift
|
||||||
include openstack_integration::ironic
|
class { 'openstack_integration::ironic':
|
||||||
|
inspector_backend => 'swift'
|
||||||
|
}
|
||||||
include openstack_integration::zaqar
|
include openstack_integration::zaqar
|
||||||
include openstack_integration::provision
|
include openstack_integration::provision
|
||||||
|
|
||||||
|
@ -4,8 +4,13 @@
|
|||||||
# (optional) AMQP topic used for OpenStack notifications
|
# (optional) AMQP topic used for OpenStack notifications
|
||||||
# Defaults to $facts['os_service_default'].
|
# Defaults to $facts['os_service_default'].
|
||||||
#
|
#
|
||||||
|
# [*inspector_backend*]
|
||||||
|
# (optional) The storage backend for storing introspection data.
|
||||||
|
# Defaults to 'database'.
|
||||||
|
#
|
||||||
class openstack_integration::ironic (
|
class openstack_integration::ironic (
|
||||||
$notification_topics = $facts['os_service_default'],
|
$notification_topics = $facts['os_service_default'],
|
||||||
|
$inspector_backend = 'database',
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include openstack_integration::config
|
include openstack_integration::config
|
||||||
@ -151,6 +156,10 @@ class openstack_integration::ironic (
|
|||||||
password => 'a_big_secret',
|
password => 'a_big_secret',
|
||||||
auth_url => "${::openstack_integration::config::keystone_auth_uri}/v3",
|
auth_url => "${::openstack_integration::config::keystone_auth_uri}/v3",
|
||||||
}
|
}
|
||||||
|
class { 'ironic::inspector::swift':
|
||||||
|
password => 'a_big_secret',
|
||||||
|
auth_url => "${::openstack_integration::config::keystone_auth_uri}/v3",
|
||||||
|
}
|
||||||
|
|
||||||
if $facts['os']['family'] == 'RedHat' {
|
if $facts['os']['family'] == 'RedHat' {
|
||||||
class { 'ironic::inspector::wsgi::apache':
|
class { 'ironic::inspector::wsgi::apache':
|
||||||
@ -176,6 +185,7 @@ class openstack_integration::ironic (
|
|||||||
rabbit_use_ssl => $::openstack_integration::config::ssl,
|
rabbit_use_ssl => $::openstack_integration::config::ssl,
|
||||||
standalone => $standalone,
|
standalone => $standalone,
|
||||||
dnsmasq_interface => 'eth0',
|
dnsmasq_interface => 'eth0',
|
||||||
|
store_data => $inspector_backend,
|
||||||
}
|
}
|
||||||
class { 'ironic::inspector::coordination':
|
class { 'ironic::inspector::coordination':
|
||||||
backend_url => "memcached://${::openstack_integration::config::ip_for_url}:11211",
|
backend_url => "memcached://${::openstack_integration::config::ip_for_url}:11211",
|
||||||
|
Loading…
Reference in New Issue
Block a user