Comment 2 for bug 1868607

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/714517
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=c516df9e519745eaea1d8699e8374dff47fb6d24
Submitter: Zuul
Branch: master

commit c516df9e519745eaea1d8699e8374dff47fb6d24
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Mar 23 18:36:38 2020 +0000

    Force container deletion if namespace does not exist in service_kill

    When a service is stopped using "service_kill" script and the
    namespace where the container is running does not exist, the
    container processi should be forced to stop from the root namespace.

    A namespace where a process is running, can be deleted whitout
    stopping the mentioned process. "ip netns identify <PID>" then
    returns an empty string (root namespace).

    This patch will prevent an endless loop in Neutron DHCP agent. As
    reported in the related bug, when a DHCP agent is resync, the DHCP
    helper (metadata proxy) is stopped. In case this process stop raises
    an exception (for example if the namespace does not exist), schedules
    again a resync, creating an endless loop.

    Change-Id: I9bac918fcde80e6a2336bc3cf1e6972512298118
    Closes-Bug: #1868607