github / glb-director

GitHub Load Balancer Director and supporting tooling.
Other
2.37k stars 227 forks source link

stopping the glb-director-xdp service does not stop directing traffic #107

Open jstangroome opened 4 years ago

jstangroome commented 4 years ago

Executing this does not stop traffic being directed:

sudo systemctl stop glb-director-xdp.service  xdp-root-shim@enp0s20f0.service

but this does:

sudo ip link set enp0s20f0 xdp off

Traffic is then resumed with:

systemctl start glb-director-xdp.service  xdp-root-shim@enp0s20f0.service

Perhaps glb-director-xdp or the xdp-root-shim should be pro-actively removing the xdp object on service stop?