commit 288a400dbf30797b70e64af64f6deadcca582851
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)
Reviewed: https:/ /review. opendev. org/c/openstack /kolla/ +/892876 /opendev. org/openstack/ kolla/commit/ 288a400dbf30797 b70e64af64f6dea dcca582851
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit 288a400dbf30797 b70e64af64f6dea dcca582851
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 5f26bff81e9b545 59303da6d83 a30d341397ac57d 867d8191cc)
Co-Authored-By: Will Szumski <email address hidden>
Change-Id: I67f5f12700d7b5
(cherry picked from commit d9a6c5f3901e078