Bug 1041499 - [RFE][cinder]: Enable multi-process for API service
Summary: [RFE][cinder]: Enable multi-process for API service
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Upstream M3
: 5.0 (RHEL 7)
Assignee: RHOS Maint
QA Contact: Yogev Rabl
URL: https://blueprints.launchpad.net/cind...
Whiteboard: upstream_milestone_icehouse-3 upstrea...
: 1046798 (view as bug list)
Depends On:
Blocks: 1083318
TreeView+ depends on / blocked
 
Reported: 2013-12-12 16:39 UTC by RHOS Integration
Modified: 2016-04-27 04:58 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
This update adds a new option for the Block Storage API service, namely osapi_volume_workers. This option allows you to specify the number of API service workers (or OS processes) to launch for openstack-cinder-api. Typically, this option can be used to set the number of OS processes to the number of CPU cores/threads on a machine; doing so will greatly increase the number of API requests that can be handled per second. To set this option, run the following command on the openstack-cinder-api host: openstack-config --set /etc/cinder/cinder.conf \ DEFAULT osapi_volume_workers [X] Replace [X] with the target number of OS processes you wish to set. By default, the Block Storage API service will still run in one process (that is, osapi_volume_workers is set to None).
Clone Of:
: 1083318 (view as bug list)
Environment:
Last Closed: 2014-07-08 15:30:40 UTC
Target Upstream Version:
scohen: needinfo+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0852 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement - Block Storage 2014-07-08 19:22:44 UTC

Description RHOS Integration 2013-12-12 16:39:45 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/multi-process-api-service.

Description:

Due to the limit of Python interpreter, API service of Cinder can't really utilize underlying multi-core architecture even libraries like eventlet has been used.  To make API service much more scalable, we should adopt multi-process API workers mode that has been used for long time in Glance/Swift/Nova.

Specification URL (additional information):

None

Comment 2 Sean Cohen 2014-03-13 08:57:57 UTC
*** Bug 1046798 has been marked as a duplicate of this bug. ***

Comment 10 Yogev Rabl 2014-05-28 13:03:29 UTC
verified on: 
python-cinderclient-1.0.8-1.el7ost.noarch
python-cinder-2014.1-3.1.el7ost.noarch
openstack-cinder-2014.1-3.1.el7ost.noarch

Comment 12 errata-xmlrpc 2014-07-08 15:30:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0852.html


Note You need to log in before you can comment on or make changes to this bug.