bootstrap ansible fails on clean ubuntu 16.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Critical
|
Jesse Pretorius |
Bug Description
When bootstraping ansible on master (AIO, ubuntu 16.04), we install python3-all python3-dev, ...
However, when I enter the get_pip function, doing:
``python /opt/get-pip.py pip==9.0.1 setuptools==36.2.0 wheel==0.29.0``
I get:
``scripts/
Expected, because:
``
root@ubuntu-
The program 'python' can be found in the following packages:
* python-minimal
* python3
Try: apt install <selected package>
``
In other words, we install python3-all python3-dev, etc... But we never ensure the freshly installed python3 is the default interpreter. I don't think that setting python3 as a default interpreter is a good idea.
However, this doesn't work, as is. We should, as much as possible be explicit, or at least alias python=python3 in the script.
description: | updated |
Changed in openstack-ansible: | |
assignee: | nobody → Jesse Pretorius (jesse-pretorius) |
Changed in openstack-ansible: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Setting an alias fixes the get_pip script, however it would still fail in the role-requiremen ts.yml -i /vagrant/ openstack- ansible/ tests/test- inventory. ini -e role_file= /vagrant/ openstack- ansible/ ansible- role-requiremen ts.yml` `
``ansible-playbook get-ansible-