Neutron metadata agent worker count fix
authorBrent Eagles <beagles@redhat.com>
Thu, 22 Sep 2016 15:16:37 +0000 (12:46 -0230)
committerBrent Eagles <beagles@redhat.com>
Thu, 22 Sep 2016 15:16:37 +0000 (12:46 -0230)
This patch changes the default value and type of the NeutronWorkers
parameter, allowing it to be unset and let a system-dependent value to
be used (e.g. processorcount or some derivate value).

Change-Id: Ia385b3503fe405c4b981c451f131ac91e1af5602
Closes-Bug: #1626126

puppet/services/neutron-metadata.yaml

index a124d4a..8be4c6d 100644 (file)
@@ -23,9 +23,16 @@ parameters:
     type: string
     hidden: true
   NeutronWorkers:
-    default: 0
-    description: Number of workers for Neutron service.
-    type: number
+    default: ''
+    description: |
+      Sets the number of worker processes for the neutron metadata agent. The
+      default value results in the configuration being left unset and a
+      system-dependent default will be chosen (usually the number of
+      processors). Please note that this can result in a large number of
+      processes and memory consumption on systems with a large core count. On
+      such systems it is recommended that a non-default value be selected that
+      matches the load requirements.
+    type: string
   NeutronPassword:
     description: The password for the neutron service and db account, used by neutron agents.
     type: string