tripleo-heat-templates/deployment/neutron/neutron-cleanup.service
Brent Eagles 0c20e1e1ac 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
2021-01-28 13:28:11 -03:30

13 lines
341 B
Desktop File

[Unit]
Description=Neutron cleanup on startup
After=openvswitch.service network.target
Before=tripleo_neutron_ovs_agent.service tripleo_neutron_dhcp.service tripleo_neutron_l3_agent.service tripleo_nova_compute.service
RefuseManualStop=yes
[Service]
Type=oneshot
ExecStart=/usr/libexec/neutron-cleanup
[Install]
WantedBy=multi-user.target