Increase number of nova-api workers

Bug #1275988 reported by Ryan Moe
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Sergii Golovatiuk

Bug Description

By default only one nova-api worker will be created. We should run one worker per CPU which will be the default in future OpenStack releases.

Ryan Moe (rmoe)
Changed in fuel:
assignee: nobody → Ryan Moe (rmoe)
Changed in fuel:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Matt's work on auto-scaling of MySQL tuning parameters in https://bugs.launchpad.net/fuel/+bug/1270875 might be helpful here, too.

Revision history for this message
Ryan Moe (rmoe) wrote :

Number of CPUs will be the default but it doesn't seem like there's an overwhelming consensus (see https://review.openstack.org/#/c/69266/). If we can come up with a better metric then I'm all for it.

tags: added: customer-found
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Note: In Nova upstream (currently for 'I'), by default the number of produced API workers *is* the # of CPU, see https://github.com/openstack/nova/blob/master/etc/nova/nova.conf.sample#L410-412

Hard to say, though which is it for stable/havana, see https://github.com/openstack/nova/blob/stable/havana/etc/nova/nova.conf.sample#L211-212

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/71060
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=767ac742c8a5ce765858ce0dc3b5b924498dd410
Submitter: Jenkins
Branch: master

commit 767ac742c8a5ce765858ce0dc3b5b924498dd410
Author: Ryan Moe <email address hidden>
Date: Tue Feb 4 10:54:13 2014 -0800

    Set osapi_compute_workers to number of processors

    Closes-bug: #1275988
    Change-Id: I5c017e4cd8b345147b3ecdad40deaa4715ccacb1

Changed in fuel:
status: Triaged → Fix Committed
Revision history for this message
Nikolay Fedotov (nfedotov) wrote :

Verified on ISO: {"build_id": "2014-03-16_03-01-16", "mirantis": "yes", "build_number": "31", "nailgun_sha": "2ace3ab436fef250e414ba3fa577198f7de4a92e", "ostf_sha": "0ad6f6de46e615022c2672c345a11fb44ffaa4e1", "fuelmain_sha": "7acc547eb531d4a15b5d3361a2ea308a4ea4ced2", "astute_sha": "a80acd1312be70676f0dd936814b27ce01fb013d", "release": "5.0", "fuellib_sha": "0f2765736a2e4af7265eeb936161f0a90cdc9a2e"}

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :

After puppet upstream manifest merge this setting has gone

Changed in fuel:
assignee: Ryan Moe (rmoe) → Sergii Golovatiuk (sgolovatiuk)
status: Fix Released → Confirmed
milestone: 4.1 → 5.1.1
Changed in fuel:
status: Confirmed → Fix Released
milestone: 5.1.1 → 4.1.2
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.