Docker L3 and VPN agent containers don't kill keealived with a SIGTERM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi guys,
When Docker L3 or VPN agent containers are killed, dumb-init handle perfectly the first process (/usr/local/
For example, neutron-vpn-agent will created few processes that will become "non-dependent" of the parent like keepalived process.
keepalived process has to be killed with SIGTERM to clean the HA VIP, floating, etc... in the kernel namespace.
Currently it's not the case. When we stop neutron_
The only way to avoid this issue is to run a "pkill keepalived" in the container is directly stop the neutron_
We are using Docker 17.03.1-ce.
Changed in kolla: | |
status: | Fix Committed → Fix Released |
For now the "workaround" we found is to add a task to neutron/ do_reconfigure. yml to make sure keepalived is kill properly before restarting the container.
- name: Pkill keepalived in neutron_ vpnaas_ agent/neutron_ l3_agent vpnaas_ agent pkill keepalived 'neutron- vpnaas- agent'] or
inventory_ hostname in groups[ 'neutron- l3-agent' ]
command:
docker exec -u root neutron_
when: inventory_hostname in groups[