Comment 3 for bug 1821241

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

Reviewed: https://review.openstack.org/645550
Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=110a9496b2c87a4d41d863aa918c2c4535b32e22
Submitter: Zuul
Branch: master

commit 110a9496b2c87a4d41d863aa918c2c4535b32e22
Author: Emilien Macchi <email address hidden>
Date: Fri Mar 22 08:14:48 2019 -0400

    systemd: switch KillMode to 'none'

    When running the services with KillMode=process, there is a race
    condition between ExecStop and the command specified in ExecStart.
    The ExecStop seems faster and the container is killed then cleaned up.
    However podman started by ExecStart is still running and systemd kills
    it as soon as the ExecStop finished.

    Since we rely on Podman to manage the containers & processes, let's
    switch to KillMode=none.

    Credits to Giuseppe Scrivano for explaining the root cause.

    Change-Id: Icbf2b81477902e3d7ff9e064bf2408c2fc7e510e
    Closes-Bug: #1821241