<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla.git/docker/base/set_configs.py, branch stable/2026.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.platform-os.org/openstack/kolla.git/atom?h=stable%2F2026.1</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla.git/atom?h=stable%2F2026.1'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/'/>
<updated>2026-05-05T10:34:26+00:00</updated>
<entry>
<title>set_configs: Add support for creating directories and setting perms</title>
<updated>2026-05-05T10:34:26+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2026-04-27T13:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=33c0e26e8a0290f0b6d647bb67e18a4f500907fc'/>
<id>urn:sha1:33c0e26e8a0290f0b6d647bb67e18a4f500907fc</id>
<content type='text'>
Change-Id: Id63c035fafaa68a9004c65161c5a3a3ad5544f02
Signed-off-by: Michal Nasiadka &lt;mnasiadka@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix kolla-set-configs --check to detect state mismatch</title>
<updated>2025-06-19T12:23:35+00:00</updated>
<author>
<name>Michal Arbet</name>
<email>michal.arbet@ultimum.io</email>
</author>
<published>2025-06-12T11:29:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=cf3c65fef7c51b8f54c32bfa58574f58ad4071c8'/>
<id>urn:sha1:cf3c65fef7c51b8f54c32bfa58574f58ad4071c8</id>
<content type='text'>
If a configuration file is tracked in the state file
but no longer appears in config.json, it should either be
restored or removed.

This patch introduces a new exception StateMismatch and
updates execute_config_check() to detect such cases. If
any destination path is present in the defaults state but
missing from config.json, we now raise StateMismatch.

A dedicated unit test has been added to verify
this behavior.

Closes-Bug: #2114173

Signed-off-by: Michal Arbet &lt;michal.arbet@ultimum.io&gt;
Change-Id: I6e0b4aaa5722990e3ac647578023f474db3d4381
</content>
</entry>
<entry>
<title>Fix handling configs in base image</title>
<updated>2024-11-06T16:37:31+00:00</updated>
<author>
<name>Michal Arbet</name>
<email>michal.arbet@ultimum.io</email>
</author>
<published>2024-04-10T18:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=36c12676ff185f524a7f4d2f2f4c70b5d60462b4'/>
<id>urn:sha1:36c12676ff185f524a7f4d2f2f4c70b5d60462b4</id>
<content type='text'>
This commit restructures the handling of configuration
files in set_configs.py, introducing functions for managing
default configuration files first.

Closes-Bug: #2060855
Change-Id: If91e0330dc149143c82d2183b8ddf6fa9f68d80e
</content>
</entry>
<entry>
<title>Enhance logging format for better readability</title>
<updated>2024-11-05T18:13:04+00:00</updated>
<author>
<name>Michal Arbet</name>
<email>michal.arbet@ultimum.io</email>
</author>
<published>2024-09-21T20:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=8eaf4149b1f9a9bf56fda7dbe41049f25d35334a'/>
<id>urn:sha1:8eaf4149b1f9a9bf56fda7dbe41049f25d35334a</id>
<content type='text'>
Added timestamp with milliseconds, log level, and custom
date format to improve clarity and make logs more useful
for debugging.

Change-Id: Ice2d601eddb54bbb0e7e3be6f03ba6db58256c1f
</content>
</entry>
<entry>
<title>Fix state checking via kolla_set_configs</title>
<updated>2024-09-16T19:23:39+00:00</updated>
<author>
<name>Michal Arbet</name>
<email>michal.arbet@ultimum.io</email>
</author>
<published>2024-09-16T14:33:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=ea198170bacf5735eaca22306011a24c1ea65532'/>
<id>urn:sha1:ea198170bacf5735eaca22306011a24c1ea65532</id>
<content type='text'>
Kolla checks the status of its configurations
using kolla_set_configs --check. However, this
doesn't work for the command block in the config.json
file. This means that if only the command value changes,
but not the config_files block, which is common practice
in Kolla-Ansible btw, the container will not report the
changes.

This is undesirable and important to fix, especially
considering the planned rework of notifiers in
Kolla-Ansible [1].

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/773243/14

Closes-Bug: #2080861
Change-Id: I2a290da38ea34b05ce3da8fb8b39b6252bf2da47
</content>
</entry>
<entry>
<title>Merge "Add exclude for permissions in kolla config.json file"</title>
<updated>2024-08-21T17:18:55+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2024-08-21T17:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=8f6bc332bfe84275836c9153ebab6902041ca83a'/>
<id>urn:sha1:8f6bc332bfe84275836c9153ebab6902041ca83a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add exclude for permissions in kolla config.json file</title>
<updated>2024-08-21T12:43:12+00:00</updated>
<author>
<name>MinSun</name>
<email>minsu@cisco.com</email>
</author>
<published>2019-04-25T06:54:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=07d0b12efdbaaf38d41670d67a2ba47ac9ded1e4'/>
<id>urn:sha1:07d0b12efdbaaf38d41670d67a2ba47ac9ded1e4</id>
<content type='text'>
When using recursive mode to set permissions for a directory as
defined in kolla config.json, all the subdirectories and files will
receive the same permissions. This change adds the option to exclude
specific files or directories - either a name or a regular expression
can be used.

Closes-Bug: #1931294
Closes-Bug: #1972168

Co-Authored-By: Jakub Darmach &lt;jakub@stackhpc.com&gt;
Change-Id: If2f39736e2af34cd91d0976051ff66f06e96ab42
</content>
</entry>
<entry>
<title>Merge "Add comprehensive checks for container restarts"</title>
<updated>2023-08-29T16:12:56+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2023-08-29T16:12:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=9a97600b0c37bbeb0f5fe4850e11d91f098f18bd'/>
<id>urn:sha1:9a97600b0c37bbeb0f5fe4850e11d91f098f18bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo in set_configs</title>
<updated>2023-04-24T15:05:51+00:00</updated>
<author>
<name>Dawud M</name>
<email>dawud@stackhpc.com</email>
</author>
<published>2023-03-09T18:04:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=3efd8126bd5b5d76809e140e5123eee5b2813d2c'/>
<id>urn:sha1:3efd8126bd5b5d76809e140e5123eee5b2813d2c</id>
<content type='text'>
Change-Id: I62a62bf80a7d3c7708cb5e836dc81dd1364d5a40
</content>
</entry>
<entry>
<title>Add comprehensive checks for container restarts</title>
<updated>2023-03-09T18:03:58+00:00</updated>
<author>
<name>Dawud M</name>
<email>dawud@stackhpc.com</email>
</author>
<published>2023-02-15T18:02:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=d9a6c5f3901e078a30d341397ac57d867d8191cc'/>
<id>urn:sha1:d9a6c5f3901e078a30d341397ac57d867d8191cc</id>
<content type='text'>
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 &lt;will@stackhpc.com&gt;
Change-Id: I67f5f12700d7b55f26bff81e9b54559303da6d83
</content>
</entry>
</feed>
