easy_install doesn't exist in 18.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
High
|
Mark Goddard | ||
Rocky |
New
|
Undecided
|
Unassigned | ||
Stein |
Fix Released
|
High
|
Mark Goddard | ||
Train |
Fix Released
|
High
|
Mark Goddard |
Bug Description
Kolla Version: 7.0.1
Install Type: Binary
Distro: Ubuntu 18.04
I am going through a kolla-ansible all-in-one installation following the documentation listed here: https:/
Running kolla-ansible -i ./all-in-one bootstrap-servers will error out in the baremetal role here: https:/
The easy_install task errors out on ubuntu18.04 because easy_install isn't install-able in Ubuntu 18.04 see here: https:/
There are several workarounds while this bug is still open which I think should be applied. Currently the installation does not work without modifying the role which feels very dirty and offputting.
1) Check for the existence of Pip and document its requirement before installation. If pip exists we don't need easy_install to download it and we can proceed. If it doesn't we can error out with a helpful error message.
2) Install pip directly using `curl https:/
This is less optimal as it obviously won't work for offline environments. We could allow the configuration of a "get-pip" URL which would default to bootstrap.pypa.io, but it would be easier to just use option #1.
I'm more than happy to make a PR for either of these options. Please let me know your thoughts.
- Nick
Changed in kolla-ansible: | |
status: | New → Confirmed |
importance: | Undecided → High |
We used the following workaround, yes it's a matter of changing in the baremetal role tasks (quick n dirty). We're also running version 7.0.1 of kolla-ansible and have tried to deploy new compute hosts on 18.04.
Besides hitting and backporting the fix for this bug: https:/ /bugs.launchpad .net/kolla- ansible/ +bug/1791355, we did the following:
1. Removed the "Install pip" task in baremetal/ tasks/install. yml defaults/ main.yml
2. Added "python-pip" package to debian_pkg_install in baremetal/