use OS python to create kolla-ansible venv
Currently kayobe creates kolla-ansible venv using kayobe venv python3. There are corner cases when creation k-a venv fails while using kayobe venv created with python 3.6 buggy setuptools/ virtualenv command. Using OS python to create venv solves those corner cases issues and preserves compatibilty. Story: 2010634 Task: 47599 Change-Id: Ie0d9bf895f6714cbb8b0bd31a008eb388f4c51c2
This commit is contained in:
parent
77ca077195
commit
068581456f
@ -16,7 +16,7 @@ kolla_ansible_source_version:
|
||||
kolla_ansible_venv: "{{ ansible_facts.env['PWD'] }}/kolla-venv"
|
||||
|
||||
# Python interpreter to use to create Kolla Ansible virtualenv.
|
||||
kolla_ansible_venv_python: python3
|
||||
kolla_ansible_venv_python: /usr/bin/python3
|
||||
|
||||
# Extra requirements to install inside the kolla-ansible virtualenv.
|
||||
kolla_ansible_venv_extra_requirements: []
|
||||
|
@ -0,0 +1,6 @@
|
||||
upgrade:
|
||||
- |
|
||||
Modifies the default value of ``kolla_ansible_venv_python`` to
|
||||
``/usr/bin/python3``. Using operating system python to create
|
||||
kolla-ansible venv fixes corner cases when using older venvs created with
|
||||
``virtualenv`` command.
|
Loading…
Reference in New Issue
Block a user