Comment 8 for bug 2003631

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to ansible-role-systemd_service (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/ansible-role-systemd_service/+/871751
Committed: https://opendev.org/openstack/ansible-role-systemd_service/commit/6551e127f283e202956e0efb89d9e3caed2c4007
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 6551e127f283e202956e0efb89d9e3caed2c4007
Author: Dmitriy Rabotyagov <email address hidden>
Date: Mon Jan 23 16:29:46 2023 +0100

    Ensure daemon is reloaded on socket change

    At the moment our verification if socket has been changed
    is not valid, since we're checking if string 'true' is presnet in the
    list, while list consist of only boolean variables. So we replace
    map filter with selectattr as it can apply truthy test to the elements
    while selecting them and checking list length.

    Change-Id: Ib456b4dc2d631bf81633035820444f13ec0f06cb
    Related-Bug: #2003631
    (cherry picked from commit 6a40ec0b85b96e529eb0e3e1e1a1f62cf34d80d2)