<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla-ansible.git/ansible/module_utils, 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-ansible.git/atom?h=stable%2F2026.1</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla-ansible.git/atom?h=stable%2F2026.1'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/'/>
<updated>2026-09-10T11:23:31+00:00</updated>
<entry>
<title>Fix trailing comma bug in DockerWorker.generate_tls()</title>
<updated>2026-09-10T11:23:31+00:00</updated>
<author>
<name>Tikhon Masalov</name>
<email>t.masalov@maxima-int.com</email>
</author>
<published>2026-08-31T12:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=89e9c59d49e944c315ef43d3ddf227ebbf625968'/>
<id>urn:sha1:89e9c59d49e944c315ef43d3ddf227ebbf625968</id>
<content type='text'>
In generate_tls(), tls_cert and tls_key were assigned with trailing
commas, which caused them to become single-element tuples (None,)
instead of None. This made the if tls_cert: check always true,
leading to TypeError when check_file() received a tuple instead
of a string path.

Remove the trailing commas so tls_cert and tls_key are plain values.

Remove TestTLS.setUp(_get_host_timezone) for stable branches:
_get_host_timezone does not exist in kolla_container_worker.py
on older branches, causing AttributeError in TestTLS setUp.

Closes-Bug: #2166845
Change-Id: I06b8876838ee2ec3c20c9a98448fc9e5588f32cd
Signed-off-by: Tikhon Masalov &lt;t.masalov@maxima-int.com&gt;
(cherry picked from commit 2f8958235bc16a89a33c0711f1dfcb7bca87a1a9)
</content>
</entry>
<entry>
<title>Fix compare_labels when image doesn't exist</title>
<updated>2026-09-03T10:37:04+00:00</updated>
<author>
<name>Alex Welsh</name>
<email>alex@stackhpc.com</email>
</author>
<published>2026-09-01T13:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=a3badc9325e53d875b30f3b89947e7e2e2863781'/>
<id>urn:sha1:a3badc9325e53d875b30f3b89947e7e2e2863781</id>
<content type='text'>
check_image() from kolla_docker_worker returns None when the image
doesn't exist locally. This means that when compare_labels tries to read
a value from it, it will error out. This chain happens when comparing an
image that doesn't exist locally. In the past we didn't hit this because
checks ran sequentially and it would exit before hitting this. A recent
change [1] means that now all checks run always.

This patch fixes the issue in two ways. First, it makes the docker
worker return an empty dict from check_image when it doesn't exist.
Second, compare_labels now truthy-checks the output before proceeding,
and returns straight away if it's False.

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

Change-Id: I3c33ac3a474f80bca100005f61c1c0bfedc46170
Signed-off-by: Alex Welsh &lt;alex@stackhpc.com&gt;
Closes-Bug: #2166024
(cherry picked from commit ffc50e8d33ade7a0d58ef83b79ed296a28b49608)
</content>
</entry>
<entry>
<title>Fix Docker cpuset dimension comparison</title>
<updated>2026-08-04T17:10:00+00:00</updated>
<author>
<name>Loan Harrouin</name>
<email>loan.harrouin@gmail.com</email>
</author>
<published>2026-05-05T13:58:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=0d656aa1e1fcc04ea2ffab5068aa934784c88f64'/>
<id>urn:sha1:0d656aa1e1fcc04ea2ffab5068aa934784c88f64</id>
<content type='text'>
When enabling cpuset_cpus or cpuset_mems on existing Docker containers,
Docker may report the current value as an empty string when no cpuset
constraint is configured.

These dimensions are cpuset-list strings, not numeric resource values.
Compare them as strings in the Docker worker instead of passing them
through the numeric dimension comparison logic.

Closes-Bug: 2143874

Change-Id: I1b8cd72846b28f556c8f9a0ba114a8af9221e85a
Signed-off-by: Loan Harrouin &lt;loan.harrouin@gmail.com&gt;
(cherry picked from commit 8304bb3884237bf5aee1c60715d097e88561d56d)
</content>
</entry>
<entry>
<title>UnicodeDecodeError in PodmanWorker.compare_config</title>
<updated>2026-07-01T14:37:40+00:00</updated>
<author>
<name>Ettore Simone</name>
<email>ettore.simone@gmail.com</email>
</author>
<published>2026-06-15T17:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=f1a3a131e6901d51c390f187740d752743eb0eb1'/>
<id>urn:sha1:f1a3a131e6901d51c390f187740d752743eb0eb1</id>
<content type='text'>
During container config comparison, podman's Docker-compat exec API
inconsistently demultiplexes the 8-byte frame headers from the output
stream depending on podman version, leaving binary bytes in raw_output.
This will raise an "UnicodeDecodeError: 'utf-8' codec can't decode byte
0x?? in position 167: invalid start byte"

Closes-Bug: 2153943
Change-Id: Ida1c017f50b9a24b88f8962d304eb015fa357211
Signed-off-by: Ettore Simone &lt;ettore.simone@gmail.com&gt;
(cherry picked from commit c99f521356012d5bc42ab3c41a994b67657e86f0)
</content>
</entry>
<entry>
<title>kolla_container: Return annotation of comparison failures</title>
<updated>2026-05-06T08:16:11+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2026-02-27T07:13:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=d005cab468ca30acab7fd4313aeda7544686437e'/>
<id>urn:sha1:d005cab468ca30acab7fd4313aeda7544686437e</id>
<content type='text'>
Assisted-By: Claude Sonnet 4.6

Change-Id: If6f09c727bc5c7af27786cdc92c998d653dd4ad1
Signed-off-by: Michal Nasiadka &lt;mnasiadka@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix idempotence on podman volume comparison</title>
<updated>2025-11-29T19:27:30+00:00</updated>
<author>
<name>Bertrand Lanson</name>
<email>bertrand.lanson@protonmail.com</email>
</author>
<published>2025-10-30T23:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=df5d6dd094ec1a6368e980c0d4d34ea7e4eced29'/>
<id>urn:sha1:df5d6dd094ec1a6368e980c0d4d34ea7e4eced29</id>
<content type='text'>
Due to podman returning all mount option flags in Binds list,
The compare_volumes function could not be idempotent because some
flags would be skipped everytime, or analyzed when they shouldn't.
This new version fixes it by filtering out all default flags from podman
for both the requested and current volumes, making comparison
accurate. It also takes into account special privileged paths that have
the noexec flag added.

Closes-bug: #2131039
Change-Id: I173bcb2b1f8c5b81f8395924dfccf73b060100b9
Signed-off-by: Bertrand Lanson &lt;bertrand.lanson@protonmail.com&gt;
</content>
</entry>
<entry>
<title>Fix podman idempotence on comparing container dimensions</title>
<updated>2025-11-29T17:58:37+00:00</updated>
<author>
<name>Bertrand Lanson</name>
<email>bertrand.lanson@protonmail.com</email>
</author>
<published>2025-10-29T17:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=f92973d0b8c9d1030fb57d479614990cdba46ee9'/>
<id>urn:sha1:f92973d0b8c9d1030fb57d479614990cdba46ee9</id>
<content type='text'>
Podman containers are created with default ulimites for RLIMIT_NOFILE
and RLIMIT_NPROC that are breaking idempotence for kolla_container in
check_container mode. We forbid users from setting them, so we should
also ignore them when checking dimensions to make the module idempotent.

Closes-bug: #2131038
Change-Id: If71589a666c4a3a8003a3419518fd7e4182c5e2b
Signed-off-by: Bertrand Lanson &lt;bertrand.lanson@protonmail.com&gt;
</content>
</entry>
<entry>
<title>Fix idempotence on comparing capabilities for podman</title>
<updated>2025-11-29T17:57:43+00:00</updated>
<author>
<name>Bertrand Lanson</name>
<email>bertrand.lanson@protonmail.com</email>
</author>
<published>2025-11-29T10:31:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=c7472c0ff61ccbbc6843286269d627b7b1dee6e2'/>
<id>urn:sha1:c7472c0ff61ccbbc6843286269d627b7b1dee6e2</id>
<content type='text'>
Currently, we add the AUDIT_WRITE capability for all unprivileged
podman containers. This causes a diff because the cap is popped from
params before comparing with the running container's actual values.
This patch fixes it by overriding compare_cap_add() to normalize
capability formats and account for auto-added AUDIT_WRITE, while
working around a bug in older Podman versions where AUDIT_WRITE
doesn't appear in the inspect API response.

Closes-bug: #2133434
Change-Id: I61fc50654fb06e041776fd394f6b1cab2f9903ba
Signed-off-by: Bertrand Lanson &lt;bertrand.lanson@protonmail.com&gt;
</content>
</entry>
<entry>
<title>Bump ansible-core to 2.18/2.19</title>
<updated>2025-10-28T11:26:36+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2025-09-10T05:44:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=3380770aeef5eebc4fd0dd1f7b6c36cde0c881fa'/>
<id>urn:sha1:3380770aeef5eebc4fd0dd1f7b6c36cde0c881fa</id>
<content type='text'>
Bumped collections in requirements-core.yml to Ansible 12 major versions,
see [1].

[1]: https://github.com/ansible-community/ansible-build-data/blob/main/12/ansible-12.1.0.yaml

Depends-On: https://review.opendev.org/c/openstack/kolla/+/960307

Co-authored-by: Doug Szumski doug@stackhpc.com
Change-Id: If8a29052d8a43ffc0fef11514adabb5e4ab9d977
Signed-off-by: Michal Nasiadka &lt;mnasiadka@gmail.com&gt;
</content>
</entry>
<entry>
<title>group_vars: Reorganize huge all.yml into smaller files</title>
<updated>2025-09-25T11:45:16+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2025-09-24T16:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=d0505893de692f5b260ebdb4c9a73c1087842e38'/>
<id>urn:sha1:d0505893de692f5b260ebdb4c9a73c1087842e38</id>
<content type='text'>
This will help us to trigger scenario jobs on changes in given
group_vars files.

Changes to Zuul config to trigger given scenarios will be posted
as a follow-up.

Change-Id: I3f17adf655d2d0c1fc2969153dddb0c72b11397a
Signed-off-by: Michal Nasiadka &lt;mnasiadka@gmail.com&gt;
</content>
</entry>
</feed>
