From 7ce489863a7e2199597c049cf8f3085743128143 Mon Sep 17 00:00:00 2001 From: Brent Eagles Date: Thu, 28 Jan 2021 13:28:11 -0330 Subject: [PATCH] Add service ordering to cleanup service to avoid conflicts with agent startup If the port cleanup takes too long, the neutron agents might begin operations on the ovs bridges while cleanup is still ongoing. This can cause undefined behavior and errors in the agent. Change-Id: Ia0e31c9469033c50a8b65af7fee1adf03b22d4c2 Closes-Bug: #1913623 (cherry picked from commit 0c20e1e1ac320e30aaedba980270dffbf4528fc3) --- deployment/neutron/neutron-cleanup.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/neutron/neutron-cleanup.service b/deployment/neutron/neutron-cleanup.service index 53db312157..efbd07f798 100644 --- a/deployment/neutron/neutron-cleanup.service +++ b/deployment/neutron/neutron-cleanup.service @@ -1,7 +1,7 @@ [Unit] Description=Neutron cleanup on startup After=openvswitch.service network.target -Before=docker.service +Before=tripleo_neutron_ovs_agent.service tripleo_neutron_dhcp.service tripleo_neutron_l3_agent.service tripleo_nova_compute.service RefuseManualStop=yes [Service]