osapi_volume_worker was introduced when enabling multi-process API
support for Cinder. However, this config option was accidentally
dropped in commit
464277220ddb800ac69562649fde62e5ca9358c4
(https://review.openstack.org/#/c/67657/20/cinder/service.py).
As a result, the value in cinder.conf wouldn't be honored. This
change restore this config option.
Closes-bug: #
1335295
Change-Id: Ib2d8532d3e6d0f48da0bc4dd6f6e64bfff8973ea
help='IP address on which OpenStack Volume API listens'),
cfg.IntOpt('osapi_volume_listen_port',
default=8776,
- help='Port on which OpenStack Volume API listens'), ]
+ help='Port on which OpenStack Volume API listens'),
+ cfg.IntOpt('osapi_volume_workers',
+ default=1,
+ help='Number of workers for OpenStack Volume API service'), ]
CONF = cfg.CONF
CONF.register_opts(service_opts)
# Port on which OpenStack Volume API listens (integer value)
#osapi_volume_listen_port=8776
+# Number of workers for OpenStack Volume API service (integer
+# value)
+#osapi_volume_workers=1
+
#
# Options defined in cinder.test