Browse Source

Merge "Add new role parameter NovaLibvirtMemStatsPeriodSeconds" into stable/queens

tags/8.4.1
Zuul 1 month ago
parent
commit
98ee80ab2a

+ 10
- 0
puppet/services/nova-compute.yaml View File

@@ -195,6 +195,14 @@ parameters:
195 195
     type: string
196 196
     default: 'regionOne'
197 197
     description: Keystone region for endpoint
198
+  NovaLibvirtMemStatsPeriodSeconds:
199
+    description: >
200
+      A number of seconds to memory usage statistics period, zero or negative
201
+      value mean to disable memory usage statistics.
202
+    default: 10
203
+    type: number
204
+    tags:
205
+      - role_specific
198 206
 
199 207
 conditions:
200 208
   enable_live_migration_tunnelled:
@@ -236,6 +244,7 @@ resources:
236 244
               nfs_share: NovaNfsShare
237 245
               nfs_options: NovaNfsOptions
238 246
               nfs_vers: NovaNfsVersion
247
+              nova::compute::libvirt::mem_stats_period_seconds: NovaLibvirtMemStatsPeriodSeconds
239 248
             - values: {get_param: [RoleParameters]}
240 249
           - values:
241 250
               NovaVcpuPinSet: {get_param: NovaVcpuPinSet}
@@ -248,6 +257,7 @@ resources:
248 257
               NovaNfsShare: {get_param: NovaNfsShare}
249 258
               NovaNfsOptions: {get_param: NovaNfsOptions}
250 259
               NovaNfsVersion: {get_param: NovaNfsVersion}
260
+              NovaLibvirtMemStatsPeriodSeconds: {get_param: NovaLibvirtMemStatsPeriodSeconds}
251 261
 
252 262
 outputs:
253 263
   role_data:

+ 8
- 0
releasenotes/notes/nova_libvirt_mem_stats_period_seconds-b9b606232629cb38.yaml View File

@@ -0,0 +1,8 @@
1
+---
2
+features:
3
+  - |
4
+    Add parameter NovaLibvirtMemStatsPeriodSeconds, which allows to
5
+    set `libvirt/mem_stats_period_seconds` parameter value to number
6
+    of seconds to memory usage statistics period, zero or negative
7
+    value mean to disable memory usage statistics.
8
+    Default value for NovaLibvirtMemStatsPeriodSeconds is 10.

+ 1
- 0
roles/ComputeOvsDpdkRT.yaml View File

@@ -16,6 +16,7 @@
16 16
     TunedProfileName: "realtime-virtual-host"
17 17
     NovaLibvirtRxQueueSize: 1024
18 18
     NovaLibvirtTxQueueSize: 1024
19
+    NovaLibvirtMemStatsPeriodSeconds: 0
19 20
   disable_upgrade_deployment: True
20 21
   update_serial: 25
21 22
   ServicesDefault:

+ 1
- 0
roles/ComputeOvsDpdkSriovRT.yaml View File

@@ -15,6 +15,7 @@
15 15
     TunedProfileName: "realtime-virtual-host"
16 16
     NovaLibvirtRxQueueSize: 1024
17 17
     NovaLibvirtTxQueueSize: 1024
18
+    NovaLibvirtMemStatsPeriodSeconds: 0
18 19
   disable_upgrade_deployment: True
19 20
   update_serial: 25
20 21
   ServicesDefault:

+ 1
- 0
roles/ComputeRealTime.yaml View File

@@ -20,6 +20,7 @@
20 20
     KernelArgs: ""      # these must be set in an environment file or similar
21 21
     IsolCpusList: ""    # according to the hardware of real-time nodes
22 22
     NovaVcpuPinSet: ""  #
23
+    NovaLibvirtMemStatsPeriodSeconds: 0
23 24
   update_serial: 25
24 25
   ServicesDefault:
25 26
     - OS::TripleO::Services::Aide

+ 1
- 0
roles/ComputeSriovRT.yaml View File

@@ -14,6 +14,7 @@
14 14
   ImageDefault: overcloud-realtime-compute
15 15
   RoleParametersDefault:
16 16
     TunedProfileName: "realtime-virtual-host"
17
+    NovaLibvirtMemStatsPeriodSeconds: 0
17 18
   update_serial: 25
18 19
   ServicesDefault:
19 20
     - OS::TripleO::Services::Aide

Loading…
Cancel
Save