Files
devstack/lib
Sean Mooney efb34cacc7 Fix neutron service detection in unstack.sh
Neutron services (neutron-api, neutron-rpc-server, and
neutron-periodic-workers) were not being stopped during unstack
because they were not detected as enabled in ENABLED_SERVICES.

The root cause was that these services were dynamically enabled
during stack.sh execution via inline enable_service calls in
start_neutron_service_and_check(), but this logic was not
replicated in unstack.sh. When unstack.sh called stop_process
for these services, the is_service_enabled check failed because
the services were not in ENABLED_SERVICES.

This fix creates a shared enable_neutron_server_services()
function that encapsulates the service enabling logic, reading
neutron.conf to determine which services should be enabled
(including conditional RPC worker enablement based on the
rpc_workers configuration). This function is now called from
both the stack.sh path (in start_neutron_service_and_check)
and the unstack.sh path (after loading plugin settings).

This ensures both stack and unstack use identical logic to
determine enabled services, allowing stop_process to properly
detect and stop all neutron server services.

Generated-By: Cursor claude-sonnet-4.5
Change-Id: I6179f3a861401ff12178aaee8b82ba7bf71dd765
Signed-off-by: Sean Mooney <work@seanmooney.info>
2026-01-22 14:40:40 +00:00
..
2025-11-10 17:39:27 +01:00
2025-03-04 15:25:34 +00:00
2025-05-05 14:13:45 +05:30
2024-08-20 17:23:02 +09:00
2025-05-08 19:05:27 +00:00
2024-12-03 17:15:36 +00:00
2025-06-27 15:00:34 +00:00
2023-08-24 03:28:31 +00:00
2022-12-16 09:59:11 +01:00
2025-11-06 15:30:39 +00:00
2023-02-16 12:01:39 +01:00
2019-03-29 11:20:19 -07:00