
This change fixes the missing notifications between virt*d_config and virt*d services, so that individual service is restarted when its configuration file is updated. This change also refactors how resource dependencies are managed, using the existing anchors. Closes-Bug: #1969401 Change-Id: Iff3ecdff9740dc1cc889b93666f089a8b60ef0ca
57 lines
1.6 KiB
Puppet
57 lines
1.6 KiB
Puppet
# == Class: nova::compute::libvirt::virtqemud
|
|
#
|
|
# virtqemud configuration
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*log_level*]
|
|
# Defines a log level to filter log outputs.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
# [*log_filters*]
|
|
# Defines a log filter to select a different logging level for
|
|
# for a given category log outputs.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
# [*log_outputs*]
|
|
# (optional) Defines log outputs, as specified in
|
|
# https://libvirt.org/logging.html
|
|
# Defaults to $::os_service_default
|
|
#
|
|
# [*max_clients*]
|
|
# The maximum number of concurrent client connections to allow
|
|
# on primary socket.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
# [*admin_max_clients*]
|
|
# The maximum number of concurrent client connections to allow
|
|
# on administrative socket.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
# [*ovs_timeout*]
|
|
# (optional) A timeout for openvswitch calls made by libvirt
|
|
# Defaults to $::os_service_default
|
|
#
|
|
#
|
|
class nova::compute::libvirt::virtqemud (
|
|
$log_level = $::os_service_default,
|
|
$log_filters = $::os_service_default,
|
|
$log_outputs = $::os_service_default,
|
|
$max_clients = $::os_service_default,
|
|
$admin_max_clients = $::os_service_default,
|
|
$ovs_timeout = $::os_service_default,
|
|
) {
|
|
|
|
include nova::deps
|
|
require nova::compute::libvirt
|
|
|
|
virtqemud_config {
|
|
'log_level': value => $log_level;
|
|
'log_filters': value => $log_filters, quote => true;
|
|
'log_outputs': value => $log_outputs, quote => true;
|
|
'max_clients': value => $max_clients;
|
|
'admin_max_clients': value => $admin_max_clients;
|
|
'ovs_timeout': value => $ovs_timeout;
|
|
}
|
|
}
|