Added oslo since I'd like to move nova.utils.cpu_count() from nova into
oslo-incubator, thinking service.py module, so that it can be re-used in
glance and cinder.

https://review.openstack.org/#/c/69266/1/nova/utils.py

** Also affects: oslo
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1333325

Title:
  glance-api workers should default to number of CPUs available

Status in OpenStack Image Registry and Delivery Service (Glance):
  New
Status in Oslo - a Library of Common OpenStack Code:
  New

Bug description:
  The docs recommend setting the 'workers' option equal to the number of
  CPUs on the host but defaults to 1.  I proposed a change to devstack
  to set workers=`nproc` but it was decided to move this into glance
  itself:

  https://review.openstack.org/#/c/99739/

  Note that nova changed in Icehouse to default to number of CPUs
  available also, and Cinder will most likely be doing the same for it's
  osapi_volume_workers option.

  This will have a DocImpact and probably UpgradeImpact is also
  necessary since if you weren't setting the workers value explicitly
  before the change you'll now have `nproc` glance API workers by
  default after restarting the service.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1333325/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to