- Dec 19, 2024
-
-
Michal Nasiadka authored
Change-Id: Ic0e33c4f2939c36ed80caa3ec1015cf53a4d93e2 (cherry picked from commit 638e1e30)
-
- Nov 20, 2024
-
-
Michal Nasiadka authored
From [1]: If check is true, and the process exits with a non-zero exit code, a CalledProcessError exception will be raised. Attributes of that exception hold the arguments, the exit code, and stdout and stderr if they were captured. [1]: https://docs.python.org/3/library/subprocess.html Closes-Bug: #2089173 Change-Id: I8cf38c2f7db1493e7303e94c212251fbeafaced3 (cherry picked from commit 4f62dd46)
-
- Oct 29, 2024
-
-
Pierre Riteau authored
When installing kolla-ansible with `pip install ./kolla-ansible`, pip always creates a direct_url.json file, even when not using an editable installation. We see this behaviour with Python 3.12, while direct_url.json is only created for editable installations on Python 3.9, which was used when this code was initially developed for Kayobe. When using a regular (non-editable) installation, this would make kolla-ansible invoke site.yml from the source directory instead of the virtualenv installation, causing a failure to load Ansible collections: Invalid plugin FQCN (ansible.utils.ipaddr): unable to locate collection ansible.utils Fix by returning the source URL only if dir_info.editable is True. Change-Id: Icdc2cedaa6a6e3a6b4351b1f4369e2e8b3a2dc97 (cherry picked from commit 1c7d17d1)
-
- Oct 28, 2024
-
-
Roman Krček authored
Moving the CLI to python allows for easier maintenance and larger feature-set. This patch introduces a few breaking changes! The changes stem the nature of the cliff package. - the order of parameters must be kolla-ansible <action> <arguments> - mariadb_backup and mariadb_recovery now are mariadb-backup and mariadb-recovery Closes-bug: #1589020 Signed-off-by:
Roman Krček <roman.krcek@tietoevry.com> Change-Id: I9749b320d4f5eeec601a055b597dfa7d8fb97ce2
-