Browse Source

Merge "Adds LibvirtLogFilters to define a libvirtd filter" into stable/stein

tags/10.6.1
Zuul 3 weeks ago
parent
commit
d3007ad774

+ 7
- 0
deployment/nova/nova-libvirt-container-puppet.yaml View File

@@ -212,6 +212,12 @@ parameters:
212 212
     type: boolean
213 213
     tags:
214 214
       - role_specific
215
+  LibvirtLogFilters:
216
+    description: Defines a filter to select a different logging level
217
+                 for a given category log outputs, as specified in
218
+                 https://libvirt.org/logging.html .
219
+    type: string
220
+    default: '1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util'
215 221
 
216 222
 conditions:
217 223
 
@@ -382,6 +388,7 @@ outputs:
382 388
                    "%{hiera('$NETWORK')}"
383 389
                  params:
384 390
                    $NETWORK: {get_param: [ServiceNetMap, NovaLibvirtNetwork]}
391
+            nova::compute::libvirt::log_filters: {get_param: LibvirtLogFilters}
385 392
             rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
386 393
             tripleo::nova_libvirt::firewall_rules:
387 394
               '200 nova_libvirt':

+ 8
- 0
releasenotes/notes/nova_libvirtd_log_filters-63e9e6501d779dd9.yaml View File

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

Loading…
Cancel
Save