kolla/tests
Dawud M 0353c51c68 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 <will@stackhpc.com>
Change-Id: I67f5f12700d7b55f26bff81e9b54559303da6d83
(cherry picked from commit d9a6c5f390)
2023-09-06 05:33:31 +00:00
..
files drop leftovers of RHEL support 2021-07-28 16:04:21 +00:00
playbooks CI: Fix centos9 builds and drop unnecessary zuul vars 2023-05-29 17:16:53 +00:00
templates Add RockyLinux 9 support 2023-02-21 13:06:47 +00:00
vars [CI] Fix wheel url for CentOS 2020-08-11 08:02:06 +00:00
__init__.py Add py27 py34 pypy unittest 2016-01-13 13:47:49 +08:00
test_set_config.py Add comprehensive checks for container restarts 2023-09-06 05:33:31 +00:00