瀏覽代碼

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)
tags/9.4.1
Martin Schuppert 3 月之前
父節點
當前提交
beb1e8f67a

+ 7
- 0
puppet/services/nova-libvirt.yaml 查看文件

@@ -130,6 +130,12 @@ parameters:
description: The password for the libvirt service when TLS is enabled
type: string
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:

@@ -218,6 +224,7 @@ outputs:
"%{hiera('$NETWORK')}"
params:
$NETWORK: {get_param: [ServiceNetMap, NovaLibvirtNetwork]}
nova::compute::libvirt::log_filters: {get_param: LibvirtLogFilters}
rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
tripleo.nova_libvirt.firewall_rules:
'200 nova_libvirt':

+ 8
- 0
releasenotes/notes/nova_libvirtd_log_filters-63e9e6501d779dd9.yaml 查看文件

@@ -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'

Loading…
取消
儲存