[murano-api] There is no way to specify the number of workers for murano-api

Bug #1603343 reported by Kirill Zaitsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
zhurong

Bug Description

There is currently no way to specify the number of api workers. should default to having 2*number of CPUs

Tags: api
zhurong (zhu-rong)
Changed in murano:
assignee: nobody → zhurong (zhu-rong)
Changed in murano:
status: New → Confirmed
Changed in murano:
milestone: newton-2 → newton-3
Revision history for this message
zhurong (zhu-rong) wrote :

There two ways here:
1.Like engine's way:
https://github.com/openstack/murano/blob/master/murano/cmd/engine.py#L56
2.Like heat and glance api ways:
heat api with workers:
https://github.com/openstack/heat/blob/master/heat/common/wsgi.py#L306-L326
glance api with workers:
https://github.com/openstack/glance/blob/master/glance/common/wsgi.py#L318-L330

By the way, the default workers is number of CPUs

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

Fix proposed to branch: master
Review: https://review.openstack.org/352994

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/352994
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=23fbee8dcd484fc46b320188b22ab6def0311679
Submitter: Jenkins
Branch: master

commit 23fbee8dcd484fc46b320188b22ab6def0311679
Author: zhurong <email address hidden>
Date: Tue Aug 9 16:02:35 2016 +0000

    Add multiple api workers

    There is currently no way to specify the number of api workers,
    This patch add multiple api workers support.

    Change-Id: Id79cb7a3e056cf5ddc9967f2f26e1973f1473e8b
    Closes-Bug: #1603343

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano 3.0.0.0b3

This issue was fixed in the openstack/murano 3.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.