kayobe-env: Unstick KOLLA_SOURCE_PATH and KOLLA_VENV_PATH
The kayobe-env script does not update the KOLLA_SOURCE_PATH and
KOLLA_VENV_PATH variables if they are already set. This can lead to
dangerous and difficult to diagnose issues where Kayobe uses a different
version of Kolla Ansible than expected.
This change updates these variables each time the kayobe-env script is
sourced.
Reviewed: https:/ /review. opendev. org/c/openstack /kayobe- config/ +/895888 /opendev. org/openstack/ kayobe- config/ commit/ 651b8be1a0a2dd3 8ab46253a0c4a9c 7d617cf7bc
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 651b8be1a0a2dd3 8ab46253a0c4a9c 7d617cf7bc
Author: Mark Goddard <email address hidden>
Date: Wed Sep 20 09:14:17 2023 +0100
kayobe-env: Unstick KOLLA_SOURCE_PATH and KOLLA_VENV_PATH
The kayobe-env script does not update the KOLLA_SOURCE_PATH and
KOLLA_VENV_PATH variables if they are already set. This can lead to
dangerous and difficult to diagnose issues where Kayobe uses a different
version of Kolla Ansible than expected.
This change updates these variables each time the kayobe-env script is
sourced.
Change-Id: I3b4b0b611750b9 c7846ff5f74554a ee2f14939e4
Closes-Bug: #2036711