pip2 fails to install pkgs requiring python3 (dnspython3, mypy, etc)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Critical
|
Unassigned |
Bug Description
I cloned the stable/pike branch from Openstack-Ansible onto a server running Ubuntu 16.04. When running "openstack-ansible -vvv setup-hosts.yml" the installation fails during the pip_install role.
Looking at the debugging output I can see that the actual command being run is:
/usr/local/bin/pip2 http://
With the exception of dnspython3, mypy, and typed-ast (which all require Python3), all the other python2 packages install just fine using pip2.
When I manually install python3-pip, I am able to install dnspython3, mypy, and typed-ast using pip3, but the pip_install role keeps failing because it is using pip2.
Thanks
summary: |
- pip2 fails to install pkgs requiring python3 (dnspython3, my, etc) + pip2 fails to install pkgs requiring python3 (dnspython3, mypy, etc) |
description: | updated |
I'm experiencing the very same problem. First time I did experience the bug was on march the 30th with a Pike deployment (16.0.9). As Queens has just been released, I decided to give it a try this morning in Queens but I get stuck on the very same step.
The strange thing is that this was perfectly working previously (pike). I have checked the requirements git repository at http:// git.openstack. org/cgit/ openstack/ requirements/, but the latest changes do not seem to be related to the issue. /docs.openstack .org/project- deploy- guide/openstack -ansible/ queens/ overview. html#installati on-requirements -and-recommenda tions only identify python 2.7 as requirement, which is inline to the fact of using pip2 for the requirement installation. Shouldn't figure python 3.4/3.5 also as requirement ?
On the other hand the openstack deployment guide at https:/
Best regards
Sergio