Adds LibvirtLogFilters to define a libvirtd filter

LibvirtLogFilters to select a different logging level for a given
category log outputs, as specified in https://libvirt.org/logging.html .
Default:

'1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util'

Conflicts:
      deployment/nova/nova-libvirt-container-puppet.yaml

Removed the conflict, as this file is not present in Rocky
release and corresponding changes are done in
puppet/services/nova-libvirt.yaml file.

Depends-On: Ic48afe856ae60654d6cebf627b12509881933c59
Change-Id: I85b09ddeb61b2f3563f81eb423e8f05b18fe984a
Closes-Bug: 1840140
(cherry picked from commit 71516f2816)
(cherry picked from commit 78d16ded1e)
This commit is contained in:
Martin Schuppert 2019-08-14 14:05:30 +02:00 committed by Rajesh Tailor
parent 022baa43f6
commit beb1e8f67a
2 changed files with 15 additions and 0 deletions

View File

@ -130,6 +130,12 @@ parameters:
description: The password for the libvirt service when TLS is enabled description: The password for the libvirt service when TLS is enabled
type: string type: string
hidden: true hidden: true
LibvirtLogFilters:
description: Defines a filter to select a different logging level
for a given category log outputs, as specified in
https://libvirt.org/logging.html .
type: string
default: '1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util'
conditions: conditions:
@ -218,6 +224,7 @@ outputs:
"%{hiera('$NETWORK')}" "%{hiera('$NETWORK')}"
params: params:
$NETWORK: {get_param: [ServiceNetMap, NovaLibvirtNetwork]} $NETWORK: {get_param: [ServiceNetMap, NovaLibvirtNetwork]}
nova::compute::libvirt::log_filters: {get_param: LibvirtLogFilters}
rbd_persistent_storage: {get_param: CinderEnableRbdBackend} rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
tripleo.nova_libvirt.firewall_rules: tripleo.nova_libvirt.firewall_rules:
'200 nova_libvirt': '200 nova_libvirt':

View File

@ -0,0 +1,8 @@
---
features:
- |
Adds LibvirtLogFilters parameter to define a filter to select
a different logging level for a given category log outputs, as
specified in https://libvirt.org/logging.html .
Default:
'1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util'