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
changes/24/772924/1
Brent Eagles 2 years ago
parent a46d302f70
commit 0c20e1e1ac

@ -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]

Loading…
Cancel
Save