kolla/docker
Dawud M d9a6c5f390 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
2023-03-09 18:03:58 +00:00
..
aodh Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
barbican Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
base Add comprehensive checks for container restarts 2023-03-09 18:03:58 +00:00
bifrost Don't ignore the remaining apt-get update errors 2022-09-27 10:04:19 +00:00
blazar Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
ceilometer Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
cinder Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
cloudkitty Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
collectd Drop elasticsearch, kibana and logstash 2022-12-06 15:57:51 +01:00
cron Move to CentOS Stream 9 2022-09-27 07:40:06 +00:00
cyborg adjust permissions on _extend_start files (part II) 2022-04-22 11:34:55 +02:00
designate Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
dnsmasq drop infra_image_prefix 2022-04-11 06:22:21 +00:00
etcd Install etcd binary from github 2022-07-20 12:20:49 +01:00
fluentd Merge "Drop elasticsearch, kibana and logstash" 2022-12-07 13:30:25 +00:00
freezer Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
glance Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
gnocchi Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
grafana grafana: remove SHA1 workaround 2023-01-18 07:39:30 +01:00
hacluster Adjust permissions on _extend_start files. 2022-04-11 17:22:24 +02:00
haproxy repos: in CentOS Stream 9 haproxy is in appstream repo 2022-09-27 19:07:55 +02:00
heat Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
horizon Remove monasca, kafka, storm and zookeeper. 2022-12-06 12:58:10 +00:00
influxdb Adjust permissions on _extend_start files. 2022-04-11 17:22:24 +02:00
ironic Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
ironic-inspector Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
iscsid Move to CentOS Stream 9 2022-09-27 07:40:06 +00:00
keepalived centos: we install 'hostname' in base image 2022-09-13 12:46:36 +02:00
keystone Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
kolla-toolbox Merge "rabbitmq: upgrade to 3.11" 2023-02-08 11:25:39 +00:00
kuryr Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
letsencrypt Add missing labels blocks 2022-09-12 21:08:03 +02:00
magnum Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
manila Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
mariadb mariadb: update clustercheck branch to match db version 2022-12-01 10:49:22 +01:00
masakari Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
memcached drop infra_image_prefix 2022-04-11 06:22:21 +00:00
mistral Do not use mistral user for mistral-api 2023-01-03 12:56:02 +01:00
multipathd drop infra_image_prefix 2022-04-11 06:22:21 +00:00
murano Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
networking-baremetal/ironic-neutron-agent docker: drop binary parts 2022-04-09 17:44:26 +02:00
neutron Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
nova Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
octavia Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
opensearch Bump Opensearch and Opensearch Dashboards to version 2.5 2023-02-07 15:07:26 +01:00
openstack-base Drop elasticsearch, kibana and logstash 2022-12-06 15:57:51 +01:00
openvswitch relay non-zero exit codes when creating openvswitch bridges 2023-01-16 13:25:40 +00:00
ovn Adjust permissions on _extend_start files. 2022-04-11 17:22:24 +02:00
ovsdpdk adjust permissions on _extend_start files (part II) 2022-04-22 11:34:55 +02:00
placement Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
prometheus Change libvirt-exporter repo to Tinkoff 2022-12-22 16:38:38 +03:00
proxysql Run proxysql with proxysql user 2022-07-28 11:52:05 +02:00
rabbitmq rabbitmq: upgrade to 3.11 2023-02-01 11:26:44 +01:00
redis Fix redis-sentinel containers always reporting changed 2022-05-18 09:35:50 +00:00
sahara sahara: install netcat-openbsd on Debian/Ubuntu 2023-01-20 19:09:08 +01:00
senlin Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
skyline skyline: Add new dashboard 2023-01-30 23:40:42 +00:00
solum Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
swift Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
tacker Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
telegraf Adjust permissions on _extend_start files. 2022-04-11 17:22:24 +02:00
tgtd drop infra_image_prefix 2022-04-11 06:22:21 +00:00
trove Switch trove-api to wsgi running under apache. 2023-01-30 13:34:49 +00:00
venus Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
vitrage Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
watcher Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
zun Fix writable rootwrap/privsep config 2022-10-10 15:06:05 +00:00
macros.j2 drop add_binary_source_envs() macro 2022-04-11 12:09:29 +02:00