Comment 17 for bug 1845244

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/rocky)

Reviewed: https://review.opendev.org/692213
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=d4734437b1d828013384cb20475981def569d6af
Submitter: Zuul
Branch: stable/rocky

commit d4734437b1d828013384cb20475981def569d6af
Author: Mark Goddard <email address hidden>
Date: Thu Oct 24 15:01:42 2019 +0100

    Fix nova scheduler down after first docker restart

    Due to a Docker bug [1] we cannot use Docker to send
    SIGHUP to the container because it will mark it as
    stopped.
    This patch sends the signal directly to the process,
    bypassing Docker.

    'changed_when: false' is also removed from the
    relevant task as it definitely changes the state.
    In the future we could do the refresh only if
    there really is a need for another one.

    [1] https://github.com/moby/moby/issues/11065

    Change-Id: Ief73bbd24568d6941384ea3330ab45f11aa42d37
    Co-authored-by: RadosÅ‚aw Piliszek <email address hidden>
    Closes-Bug: #1845244
    (cherry picked from commit 6bdf202658e08bb9f43ca50334587b05dc4bac03)
    (cherry picked from commit 2242fceb73abac54ef46acb41997bf81a77692a3)