kayobe-env: KOLLA_SOURCE_PATH and KOLLA_VENV_PATH are sticky

Bug #2036711 reported by Mark Goddard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kayobe
Status tracked in Bobcat
Antelope
In Progress
Medium
Unassigned
Bobcat
Fix Released
Medium
Unassigned
Yoga
In Progress
Medium
Unassigned
Zed
In Progress
Medium
Unassigned

Bug Description

The kayobe-env script in kayobe-config 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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe-config (master)
Changed in kayobe:
status: New → In Progress
Mark Goddard (mgoddard)
Changed in kayobe:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe-config (master)

Reviewed: https://review.opendev.org/c/openstack/kayobe-config/+/895888
Committed: https://opendev.org/openstack/kayobe-config/commit/651b8be1a0a2dd38ab46253a0c4a9c7d617cf7bc
Submitter: "Zuul (22348)"
Branch: master

commit 651b8be1a0a2dd38ab46253a0c4a9c7d617cf7bc
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: I3b4b0b611750b9c7846ff5f74554aee2f14939e4
    Closes-Bug: #2036711

Changed in kayobe:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe-config (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/kayobe-config/+/896114

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe-config (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/kayobe-config/+/896115

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe-config (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/kayobe-config/+/896116

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.