Browse Source

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

tags/9.4.1
Zuul 3 weeks ago
parent
commit
fd7f3adae0

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

@@ -130,6 +130,12 @@ parameters:
130 130
     description: The password for the libvirt service when TLS is enabled
131 131
     type: string
132 132
     hidden: true
133
+  LibvirtLogFilters:
134
+    description: Defines a filter to select a different logging level
135
+                 for a given category log outputs, as specified in
136
+                 https://libvirt.org/logging.html .
137
+    type: string
138
+    default: '1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util'
133 139
 
134 140
 conditions:
135 141
 
@@ -218,6 +224,7 @@ outputs:
218 224
                    "%{hiera('$NETWORK')}"
219 225
                  params:
220 226
                    $NETWORK: {get_param: [ServiceNetMap, NovaLibvirtNetwork]}
227
+            nova::compute::libvirt::log_filters: {get_param: LibvirtLogFilters}
221 228
             rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
222 229
             tripleo.nova_libvirt.firewall_rules:
223 230
               '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