Merge "Adds LibvirtLogFilters to define a libvirtd filter"

This commit is contained in:
Zuul 2019-08-27 02:47:06 +00:00 committed by Gerrit Code Review
commit 9272675c92
2 changed files with 15 additions and 0 deletions

View File

@ -212,6 +212,12 @@ parameters:
type: boolean
tags:
- role_specific
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:
@ -383,6 +389,7 @@ outputs:
params:
$NETWORK: {get_param: [ServiceNetMap, NovaLibvirtNetwork]}
nova::compute::libvirt::log_outputs: "3:syslog:libvirtd"
nova::compute::libvirt::log_filters: {get_param: LibvirtLogFilters}
rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
tripleo::nova_libvirt::firewall_rules:
'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'