aboutsummaryrefslogtreecommitdiff
path: root/tests/templates
diff options
context:
space:
mode:
authorMichal Arbet <michal.arbet@ultimum.io>2024-09-18 21:35:22 +0200
committerMichal Arbet <michal.arbet@ultimum.io>2024-09-19 12:38:15 +0200
commit91a4d8f74b3e879bc0092571ff20937b27adfec5 (patch)
tree63e1ea31cc9149214894f6185add703e5eef2e69 /tests/templates
parent0a6dd4210b251c867a91a918e3f5538d24cf69c1 (diff)
downloadkolla-ansible-91a4d8f74b3e879bc0092571ff20937b27adfec5.tar.gz
kolla-ansible-91a4d8f74b3e879bc0092571ff20937b27adfec5.zip
Standardize python version paths
This patch removes the hardcoded `distro_python_version` mapping and usage from the configuration and templates, aligning with the dynamic Python version detection introduced in the dependent patch below. The changes simplify the kolla-ansible roles by using general `python3` paths, ensuring compatibility across distributions without requiring version-specific handling. Template files for Horizon, Ironic, Skyline, and others have been updated to reflect this, improving maintainability and reducing complexity. Depends-On: https://review.opendev.org/c/openstack/kolla/+/926744 Change-Id: I85431b058b4184d96600cf17aaf8de871a018d61
Diffstat (limited to 'tests/templates')
-rw-r--r--tests/templates/globals-default.j24
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2
index d45283b04..6d3501e6e 100644
--- a/tests/templates/globals-default.j2
+++ b/tests/templates/globals-default.j2
@@ -35,10 +35,6 @@ docker_custom_config:
{% endif %}
{% endif %}
-{% if kolla_python_version is defined and not is_previous_release %}
-distro_python_version: "{{ kolla_python_version }}"
-{% endif %}
-
# MariaDB/Galera - fine tune timeouts
mariadb_wsrep_extra_provider_options:
- "gmcast.peer_timeout=PT15S"