Browse code

Set Neutron api_workers to $API_WORKERS

Change [1] brings back this feature in Neutron, so we want to have
the ability to set the number of API workers the same way other
projects do.

However, this cause some instability, so we need to be careful on
how we bring it back.

[1] https://review.openstack.org/#/c/191127/

Closes-Bug: #1432189
Related-bug: #1432065

Change-Id: Id4986a49d33fa4b8a7291150488665e200525dac
Co-authored-by: Russell Bryant <rbryant@redhat.com>

armando-migliaccio authored on 2015/06/13 00:55:02
Showing 1 changed files
... ...
@@ -463,6 +463,8 @@ function configure_neutron {
463 463
     fi
464 464
 
465 465
     _configure_neutron_debug_command
466
+
467
+    iniset $NEUTRON_CONF DEFAULT api_workers "$API_WORKERS"
466 468
 }
467 469
 
468 470
 function create_nova_conf_neutron {