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>
diff --git a/lib/neutron-legacy b/lib/neutron-legacy
index dd67f45..3ac76a2 100644
--- a/lib/neutron-legacy
+++ b/lib/neutron-legacy
@@ -463,6 +463,8 @@
fi
_configure_neutron_debug_command
+
+ iniset $NEUTRON_CONF DEFAULT api_workers "$API_WORKERS"
}
function create_nova_conf_neutron {