Set number of Swift proxy server workers to auto
authorChristian Schwede <cschwede@redhat.com>
Mon, 9 Jan 2017 19:04:39 +0000 (19:04 +0000)
committerChristian Schwede <cschwede@redhat.com>
Mon, 9 Jan 2017 19:05:51 +0000 (19:05 +0000)
Setting the default Swift proxy workers to 0 actually results in a
single Swift proxy worker, no matter how many CPU cores are available.
This is not the default Swift setting and is most likely not sufficient.

Setting this to auto uses the default in Swift, which equals to the
number of CPU cores.

Closes-Bug: 1655070
Change-Id: Ic321b6111f8697ba3cc1554611fee44c2e540759

puppet/services/swift-proxy.yaml

index 6ccfe7a..da6021b 100644 (file)
@@ -31,9 +31,9 @@ parameters:
     description: Timeout for requests going from swift-proxy to swift a/c/o services.
     type: number
   SwiftWorkers:
-    default: 0
+    default: auto
     description: Number of workers for Swift service.
-    type: number
+    type: string
   KeystoneRegion:
     type: string
     default: 'regionOne'