]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use (# of CPUs) osapi_volume_workers by default
authorMatt Riedemann <mriedem@us.ibm.com>
Fri, 27 Jun 2014 17:57:33 +0000 (10:57 -0700)
committerMatt Riedemann <mriedem@us.ibm.com>
Wed, 2 Jul 2014 20:02:20 +0000 (13:02 -0700)
commit6f24ca2496e37f3f75496c0e4191e71e55fd7b5d
tree7e65ffba3e5e9692336913b18f1225be61e049a3
parentf50be86330e81cb9dd61b8a2a635fa1a784b702a
Use (# of CPUs) osapi_volume_workers by default

This changes the default number of cinder API workers to be equal to the
number of CPUs available on the host, rather than defaulting to 1 as it
did before.

Commit 75c96a48fc7e5dfb59d8258142b01422f81b0253 did the same thing in
Nova in Icehouse. Similar changes are being made to Glance and Trove as
well.

DocImpact: osapi_volume_workers will now be equal to the number of
           CPUs available by default if not explicitly specified
           in cinder.conf.

UpgradeImpact: Anyone upgrading to this change that does not have
           osapi_volume_workers specified in cinder.conf will now be
           running multiple API workers by default when they restart
           the cinder-api service.

Closes-Bug: #1333370

Change-Id: I8dec104800c18618e0c8422bbb93d5dc19c12876
bin/cinder-api
cinder/service.py
etc/cinder/cinder.conf.sample