aboutsummaryrefslogtreecommitdiff
path: root/tests/test_kolla_container.py
AgeCommit message (Collapse)AuthorFilesLines
2025-08-13Revert "security: hide sensitive auth_password in kolla_container module logs"Michal Nasiadka1-2/+1
This reverts commit 9e8b2c4661416e7812afa70bad144201ea410fe9. Reason for revert: no_log=True on common_options over-redacts, including parsed stdout, breaking CI. Different approach needed. Change-Id: Ia1a1a247c72b0edb13a26f3f73259abe4f92b762 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-08-12security: hide sensitive auth_password in kolla_container module logsPiotr Milewski1-1/+2
Added no_log=True to the 'common_options' argument in generate_module() to prevent the auth_password and other sensitive data from being printed in Ansible logs during container operations. This improves security by hiding credentials from logs. This change addresses the issue where auth_password was visible in logs despite already having no_log=True on the auth_password parameter itself, because it was nested inside common_options dict without no_log protection. Closes-Bug: #2120302 Change-Id: I2064f822bda1c2618605ecfb9bf26ad820ccbbf2 Signed-off-by: Piotr Milewski <vurmil@gmail.com>
2025-02-07Move actions to kolla_container_factsIvan Halomi1-4/+0
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 <ivan.halomi@tietoevry.com> Signed-off-by: Martin Hiner <martin.hiner@tietoevry.com> Signed-off-by: Roman KrĨek <roman.krcek@tietoevry.com>
2024-03-29tests: Replace imp with importlib.machineryMichal Nasiadka1-3/+3
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
2023-11-15Rename kolla_docker to kolla_containerMartin Hiner1-0/+131
Changes name of ansible module kolla_docker to kolla_container. Change-Id: I13c676ed0378aa721a21a1300f6054658ad12bc7 Signed-off-by: Martin Hiner <m.hiner@partner.samsung.com>