<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla.git/docker/base/set_configs.py, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.platform-os.org/openstack/kolla.git/atom?h=master</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/'/>
<updated>2026-07-06T19:59:40+00:00</updated>
<entry>
<title>Migrate to pyproject.toml</title>
<updated>2026-07-06T19:59:40+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2026-07-06T13:26:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=db35ac8d793506bc43b62e7e39d27a75de1043ed'/>
<id>urn:sha1:db35ac8d793506bc43b62e7e39d27a75de1043ed</id>
<content type='text'>
[tool.setuptools.data-files] does not support recursive directory
installation. The old setup.cfg [files] worked because PBR's
FilesConfig.expand_globs() used os.walk() to expand docker/*, but
this hook is not triggered by the pbr.build PEP-517 backend.

Move docker/ into kolla/ and use [tool.setuptools.package-data]
instead. Update kolla_worker._get_images_dir() to check the kolla
package directory first so both editable and regular installs work.

Change-Id: I4fc452c03740ef22ebbb4e8d0d86c4f4783e2d09
Signed-off-by: Michal Nasiadka &lt;mnasiadka@gmail.com&gt;
</content>
</entry>
<entry>
<title>set_configs: Add support for creating files and setting perms</title>
<updated>2026-07-02T15:28:39+00:00</updated>
<author>
<name>Michal Arbet</name>
<email>michal.arbet@ultimum.io</email>
</author>
<published>2026-05-25T07:56:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=ebc7eb82969af107f5a54b29b8ef898cd759a997'/>
<id>urn:sha1:ebc7eb82969af107f5a54b29b8ef898cd759a997</id>
<content type='text'>
Change-Id: I74a6d05007488b69fa040c40d01a07afae369794
Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/989850
Signed-off-by: Michal Arbet &lt;michal.arbet@ultimum.io&gt;
</content>
</entry>
<entry>
<title>Fix parsing of permissions with special bits</title>
<updated>2026-07-01T16:11:49+00:00</updated>
<author>
<name>Michal Arbet</name>
<email>michal.arbet@ultimum.io</email>
</author>
<published>2026-05-16T13:05:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=505428fd51f3801c39850437f908fcf106a8fc94'/>
<id>urn:sha1:505428fd51f3801c39850437f908fcf106a8fc94</id>
<content type='text'>
kolla_set_configs currently fails to parse permissions
such as 2775 because only legacy values like 0755 are
converted to Python octal notation.

Accept standard UNIX permission notation for
permissions with special mode bits such as SGID, SUID,
and sticky bit.

Change-Id: I5937a17b0d70f9c1db4b2617854d0180c37fe2c0
Closes-Bug: #2154269
Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/989850
Signed-off-by: Michal Arbet &lt;michal.arbet@ultimum.io&gt;
</content>
</entry>
<entry>
<title>Add YAML support to kolla_set_configs engine</title>
<updated>2026-06-17T16:32:01+00:00</updated>
<author>
<name>Piotr Milewski</name>
<email>vurmil@gmail.com</email>
</author>
<published>2026-03-26T17:05:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=d6910f01deb3fa41b2a7662d1d5eb4a7d1b5c50f'/>
<id>urn:sha1:d6910f01deb3fa41b2a7662d1d5eb4a7d1b5c50f</id>
<content type='text'>
Following the PTG agreement, this commit extends the container
configuration engine (set_configs.py) to support YAML format while
maintaining backward compatibility with JSON.

- Integrated 'yaml' library as a universal parser for both JSON
  and YAML formats (YAML is a superset of JSON)
- Updated 'load_config' to search for 'config.json', 'config.yaml'
- Added 'python3-yaml' (Debian) and 'python3-pyyaml' (RHEL) as
  required base packages in Dockerfile.j2

This change improves configuration readability and allows for
easier maintenance while ensuring no breakage for existing
JSON-based deployments.

Change-Id: Icfb52b8f94e1036d5952b160c5921348d1427fda
Signed-off-by: Piotr Milewski &lt;vurmil@gmail.com&gt;
</content>
</entry>
<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>
</feed>
