<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla-ansible.git/kolla_ansible/utils.py, 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>2024-12-19T08:07:04+00:00</updated>
<entry>
<title>Retry Ansible Galaxy calls</title>
<updated>2024-12-19T08:07:04+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2024-11-29T15:18:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=638e1e3062a42be9c9a0d4e83ad557c4c006e8a6'/>
<id>urn:sha1:638e1e3062a42be9c9a0d4e83ad557c4c006e8a6</id>
<content type='text'>
Change-Id: Ic0e33c4f2939c36ed80caa3ec1015cf53a4d93e2
</content>
</entry>
<entry>
<title>cli: Add check=True to catch Ansible failures</title>
<updated>2024-11-20T16:01:14+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2024-11-20T15:48:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=4f62dd4661ebe83a891cc69e51e88831e408bdca'/>
<id>urn:sha1:4f62dd4661ebe83a891cc69e51e88831e408bdca</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Fix detection of editable installation</title>
<updated>2024-10-29T12:54:23+00:00</updated>
<author>
<name>Pierre Riteau</name>
<email>pierre@stackhpc.com</email>
</author>
<published>2024-10-29T12:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=1c7d17d1ee972fdfae47258b5a28230b5ee1787c'/>
<id>urn:sha1:1c7d17d1ee972fdfae47258b5a28230b5ee1787c</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Rewrite kolla-ansible CLI to python</title>
<updated>2024-10-28T08:48:23+00:00</updated>
<author>
<name>Roman Krček</name>
<email>roman.krcek@tietoevry.com</email>
</author>
<published>2024-07-04T11:44:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=9ea63dc300062e5e078a5f73ae72c2042846255f'/>
<id>urn:sha1:9ea63dc300062e5e078a5f73ae72c2042846255f</id>
<content type='text'>
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 &lt;action&gt; &lt;arguments&gt;
- mariadb_backup and mariadb_recovery now are
  mariadb-backup and mariadb-recovery

Closes-bug: #1589020
Signed-off-by: Roman Krček &lt;roman.krcek@tietoevry.com&gt;
Change-Id: I9749b320d4f5eeec601a055b597dfa7d8fb97ce2
</content>
</entry>
</feed>
