Number of Nova workers is less than expected (CPU count)

Bug #1494761 reported by Ilya Shakhat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Ilya Shakhat

Bug Description

Controller node has 40 CPU cores (according to list in /proc/cpuinfo). In fuel-library it is specified that nova.conf parameters "osapi_compute_workers", "ec2_workers", "metadata_workers" should be equal to value of processorcount variable, however in the deployed conf file all parameters have values 16.

Puppet detects number of processors correctly:
  root@node-1196:~# puppet apply -e 'notify { "The value is: $::processorcount": }'
  Notice: The value is: 40

The same issue is at least for cinder and neutron.

Tags: scale
Revision history for this message
Ilya Shakhat (shakhat) wrote :

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "287"
  build_id: "287"
  nailgun_sha: "46a7a2177a0b7ef91422284c1c90295fee8f5c84"
  python-fuelclient_sha: "1ce8ecd8beb640f2f62f73435f4e18d1469979ac"
  fuel-agent_sha: "082a47bf014002e515001be05f99040437281a2d"
  fuel-nailgun-agent_sha: "d7027952870a35db8dc52f185bb1158cdd3d1ebd"
  astute_sha: "a717657232721a7fafc67ff5e1c696c9dbeb0b95"
  fuel-library_sha: "43224223dab8cf9627b5ecf737e60216a3fdd114"
  fuel-ostf_sha: "1f08e6e71021179b9881a824d9c999957fcc7045"
  fuelmain_sha: "6b83d6a6a75bf7bca3177fcf63b2eebbf1ad0a85"

Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
tags: added: scale
Changed in fuel:
milestone: none → 7.0
Revision history for this message
Alex Schultz (alex-schultz) wrote :

This is expected and we support this being configured by operators if they want more than 16.

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

Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

The original change to calculation equation was proposed by mos-puppet team. Pushing this bug back to them.

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → MOS Puppet Team (mos-puppet)
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Ilya, per comments this is expected behavior. Please close this as Invalid if you are ok with or provide reasons to change this setting.

Changed in fuel:
status: New → Incomplete
importance: Undecided → High
assignee: MOS Puppet Team (mos-puppet) → Ilya Shakhat (shakhat)
Revision history for this message
Ilya Shakhat (shakhat) wrote :

Closing as Invalid since the product behaves as designed.

Changed in fuel:
status: Incomplete → Invalid
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.