Poor default for API workers in Neutron
Bug #1619383 reported by
Brent Eagles
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Brent Eagles |
Bug Description
The default value of 0 for the NeutronWorkers results in different behavior in newton than it did in mitaka. In mitaka, neutron checked the api_worker count like so:
workers = cfg.CONF.
if not workers:
workers = processutils.
Since we default to 0, this has the result of setting it to the number of threads. It is now:
def _get_api_workers():
workers = cfg.CONF.
if workers is None:
workers = processutils.
return workers
Resulting in the value actually being treated as 0. This has a significant impact on performance.
This was changed here:
To post a comment you must log in.
Should read "this has the result of setting it to the number of processors"