Skip to content

Commit 13888a3

Browse files
committed
[Neutron] neutron-rpc-server is not a configurable service
The "neutron-rpc-server" is not a configurable service that can be enabled or disabled. This service is a dependant process of the "neutron-api-server" service that is spawned when the Neutron API uses the WSGI module. The execution of this child service will depend on: * The Neutron API service when running with the WSGI module. If the Neutron API uses the eventlet module, this service won't run (the RPC workers will be spawned by the eventlet server). * The "rpc_workers" configuration variable. If this variable is explicitly set to "0", the server must not run. Closes-Bug: #2073844 Related-Bug: #2073572 Change-Id: Ic019423ca033ded8609d82bb11841b975862ac14
1 parent aaaa037 commit 13888a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/neutron

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ function configure_neutron {
471471
# (NEUTRON_DEPLOY_MOD_WSGI=True) for the Neutron server.
472472
local rpc_workers
473473
rpc_workers=$(iniget_multiline /etc/neutron/neutron.conf DEFAULT rpc_workers)
474-
if ! is_service_enabled neutron-rpc-server || [ "$rpc_workers" -eq "0" ]; then
474+
if [ "$rpc_workers" == "0" ]; then
475475
_Q_RUN_RPC_SERVER=False
476476
fi
477477

0 commit comments

Comments
 (0)