Add an option for graceful l3 agent shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Brian Haley |
Bug Description
If KillMode in systemd config of a neutron l3 agent service is set to 'process' - it will not kill child processes on main service stop - this is useful when we don't want data-plane downtime on agent stop/restart due to keepalived exit.
However in some cases graceful cleanup on l3 agent shutdown is needed - like with containerised control plane, when kubernetes kills l3-agent pod, it automatically kills its children (keepalived processes) in non-graceful way, so that keepalived does not clear VIPs. This leads to a situation when same VIP is present on different nodes and hence to long downtime.
The proposal is to add a new l3 agent config so that it handles stop (SIGTERM) by deleting all routers. For HA routers it results in graceful keepalived shutdown.
tags: |
added: rfe-triaged removed: rfe |
Changed in neutron: | |
milestone: | none → ussuri-2 |
Changed in neutron: | |
assignee: | Oleg Bondarev (obondarev) → Brian Haley (brian-haley) |
Fix proposed to branch: master /review. opendev. org/693323
Review: https:/