<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla-ansible.git/tests/kolla_container_tests/test_docker_worker.py, branch stable/2025.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%2F2025.1</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla-ansible.git/atom?h=stable%2F2025.1'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/'/>
<updated>2026-10-05T17:27:45+00:00</updated>
<entry>
<title>Fix trailing comma bug in DockerWorker.generate_tls()</title>
<updated>2026-10-05T17:27:45+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=57c988a1c3cb8eda98c3d4f093763c6dec519f14'/>
<id>urn:sha1:57c988a1c3cb8eda98c3d4f093763c6dec519f14</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)
(cherry picked from commit 89e9c59d49e944c315ef43d3ddf227ebbf625968)
</content>
</entry>
<entry>
<title>Fix Docker cpuset dimension comparison</title>
<updated>2026-08-04T17:11:30+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=80d04caeae9a18db3b4163cba392a3424232c104'/>
<id>urn:sha1:80d04caeae9a18db3b4163cba392a3424232c104</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>CI: Fix hardcoded passwords check introduced by bandit</title>
<updated>2026-01-19T16:09:02+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2026-01-19T09:14:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=588b9eade1ef416675e7da48695e2fbddfb403b7'/>
<id>urn:sha1:588b9eade1ef416675e7da48695e2fbddfb403b7</id>
<content type='text'>
Tests had to be a bit refactored due to pep8 E501 (line too long)

See [1].

[1]: https://github.com/PyCQA/bandit/commit/649b9bdf87f4f9d850b29819b14b847bd3b8f970

Change-Id: I99407525546f50c4ff1c0101316485604c83b07f
Signed-off-by: Michal Nasiadka &lt;mnasiadka@gmail.com&gt;
(cherry picked from commit 2ba4a6efdca7f9a1ed00cebc78dba8bb6a510923)
</content>
</entry>
<entry>
<title>Assign labels to kolla volumes</title>
<updated>2025-03-27T07:51:50+00:00</updated>
<author>
<name>Marek Buch</name>
<email>marek.buch@tietoevry.com</email>
</author>
<published>2025-03-05T13:49:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=bff6ee9d7ec61864ba00b44029c1a1eca97c0378'/>
<id>urn:sha1:bff6ee9d7ec61864ba00b44029c1a1eca97c0378</id>
<content type='text'>
Kolla volumes do not have assigned any labels, that makes
identification and filtering for kolla specific volumes hard.
This change allows for easier volume management.

Closes-bug: #1630545
Change-Id: I6b536f73433cfc64881ac66e53aa0a5eed709ce6
Signed-off-by: Marek Buch &lt;marek.buch@tietoevry.com&gt;
</content>
</entry>
<entry>
<title>Move actions to kolla_container_facts</title>
<updated>2025-02-07T09:40:43+00:00</updated>
<author>
<name>Ivan Halomi</name>
<email>ivan.halomi@tietoevry.com</email>
</author>
<published>2024-03-06T11:57:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=19af5826fc10c7e068e196e68c0d9950e8d13f89'/>
<id>urn:sha1:19af5826fc10c7e068e196e68c0d9950e8d13f89</id>
<content type='text'>
Move actions responsible for info about containers
from kolla_container module to kolla_container_facts.
Also fixes a bug with inconsistencies between docker
and podman in kolla_container_facts.

Closes-bug: #2084878
Change-Id: I1db88e28a828ebf073f018b2bae1d9556ec22807
Signed-off-by: Ivan Halomi &lt;ivan.halomi@tietoevry.com&gt;
Signed-off-by: Martin Hiner &lt;martin.hiner@tietoevry.com&gt;
Signed-off-by: Roman Krček &lt;roman.krcek@tietoevry.com&gt;
</content>
</entry>
<entry>
<title>Remove "distutils" library</title>
<updated>2024-08-21T08:52:12+00:00</updated>
<author>
<name>leiyashuai</name>
<email>leiyashuai@inspur.com</email>
</author>
<published>2022-09-12T07:56:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=b3a66ef3d4f360b4dce14e9051dc32861ef44018'/>
<id>urn:sha1:b3a66ef3d4f360b4dce14e9051dc32861ef44018</id>
<content type='text'>
Library "distutils" is deprecated in Python 3.10:
https://peps.python.org/pep-0632/

The versions previously referenced using StrictVersion should be old
enough that they will not be used in a Dalmatian deployment:

- Ansible 2.11
- Docker API 1.42, included since Docker engine 23.0.0

Change-Id: Ie315004715a1cb5a91dd54bc64b0a8fd0af650ec
</content>
</entry>
<entry>
<title>Fix podman healtcheck when not enabled</title>
<updated>2024-07-08T06:52:44+00:00</updated>
<author>
<name>Ivan Halomi</name>
<email>ivan.halomi@tietoevry.com</email>
</author>
<published>2024-07-02T11:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=59bebd41eb768653f8bbccab0df46da3eac5c47c'/>
<id>urn:sha1:59bebd41eb768653f8bbccab0df46da3eac5c47c</id>
<content type='text'>
There was a bug where setting the test command
for the health check to 'NONE' would throw an error
in podman_worker. This was problematic since K-A
uses 'NONE' as an indicator that the health check is not enabled.

Closes-Bug: #2071912
Change-Id: I3140bb79eace58b23f579be3da569c502c52c38c
Signed-off-by: Ivan Halomi &lt;ivan.halomi@tietoevry.com&gt;
</content>
</entry>
<entry>
<title>Merge "Fix the docker container dimensions comparison for short notation"</title>
<updated>2024-06-26T19:00:17+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2024-06-26T19:00:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=7a9e072469a615e55322ef2701e42c7eee563cc3'/>
<id>urn:sha1:7a9e072469a615e55322ef2701e42c7eee563cc3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix the docker container dimensions comparison for short notation</title>
<updated>2024-06-26T12:40:32+00:00</updated>
<author>
<name>Pedro Henrique</name>
<email>phpm13@gmail.com</email>
</author>
<published>2023-06-20T14:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=a086b780dc7884f441683143400c941a9400c5a5'/>
<id>urn:sha1:a086b780dc7884f441683143400c941a9400c5a5</id>
<content type='text'>
When using short notations like `1g` or `512m` to define the
container dimensions, we are always getting the container to
being restarted in each kolla-ansible run, even with no real
changes in the container configs.

Change-Id: Ic8e2dd42b95a8f5c2141a820c55642a3ed7beabd
Closes-Bug: #2070494
</content>
</entry>
<entry>
<title>tests: Replace imp with importlib.machinery</title>
<updated>2024-03-29T05:16:51+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2024-03-28T08:10:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=3c3c5179586f4ceebd70f0fee7e127f636b1c1af'/>
<id>urn:sha1:3c3c5179586f4ceebd70f0fee7e127f636b1c1af</id>
<content type='text'>
It's needed for Python3.12 support, because imp has been dropped [1].

Also shlex dropped s=None support [2].

[1]: https://docs.python.org/3/whatsnew/3.12.html
[2]: https://github.com/python/cpython/issues/94352

Change-Id: I23f37897ea08ac708f6df485f699122df647e552
</content>
</entry>
</feed>
