Comment 5 for bug 1997984

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

Reviewed: https://review.opendev.org/c/openstack/kolla/+/892878
Committed: https://opendev.org/openstack/kolla/commit/0353c51c68c30632ecb29fd0ae4372a375086865
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 0353c51c68c30632ecb29fd0ae4372a375086865
Author: Dawud M <email address hidden>
Date: Wed Feb 15 18:02:05 2023 +0000

    Add comprehensive checks for container restarts

    When adding a dashboard to grafana the containers aren't restarted when
    they should be. This is due to a bug in Kolla where the logic to
    determine whether or the container needs to be restarted fails in the
    case where the file does not exist in the container. This patch adds
    more comprehensive checks for container restarts in the set_configs.py
    file. This patch also adds a test to ensure that the functions work as
    expected.

    Closes-Bug: #1997984
    Co-Authored-By: Will Szumski <email address hidden>
    Change-Id: I67f5f12700d7b55f26bff81e9b54559303da6d83
    (cherry picked from commit d9a6c5f3901e078a30d341397ac57d867d8191cc)