Venv for kolla-ansible does not respect selected python
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- ansible, python
- Domain
- devops, infrastructure
Research direction
Start at Beokay’s handling of the selected Python version and the setup path for the kolla-ansible virtual environment. Compare the generated venvs and the playbook’s kolla_ansible_venv handling, then verify that both environments use the user-selected interpreter rather than the system python3.
Written by the indexing model from the issue text.
Description
Setting a custom Python version (e.g. python3.10) on Beokay does not set the environment up correctly for the kayobe-ansible virtual environment, instead using the system default python3 rather than the specified version to Beokay
There's a couple of missing pieces from Beokay's side to make this work:
- We don't create a venv for
kolla-ansibleso the playbook has to guess, if we created it with the right version and set the env Kolla would do the correct thing - Alternatively, we could pass the user's selected Python version along to the playbook using
kolla_ansible_venvor a similar var to let Kolla do the lifting
Currently a user will get mismatched environments in venv, one pointing to their selected Python the other pointing to the OS Python.
- Dominant language
- Python
- Stars
- 6
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stackhpc/beokay
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·