build breaks because guests install libraries with python3.5 but uses python 2.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Something appears to break and has led to guests failing this way:
Dec 15 20:48:03 m2 trove-guestagen
Dec 15 20:48:03 m2 trove-guestagen
Dec 15 20:48:03 m2 trove-guestagen
Dec 15 20:48:03 m2 trove-guestagen
Dec 15 20:48:03 m2 trove-guestagen
Dec 15 20:48:03 m2 trove-guestagen
amrith@m3:/$ pip --version
pip 9.0.1 from /usr/local/
amrith@m3:/$ python --version
Python 2.7.12
amrith@m3:/$ cd /usr/local/lib
amrith@
./python3.
amrith@
Changed in trove: | |
status: | New → In Progress |
Changed in trove: | |
assignee: | Amrith Kumar (amrith) → Peter Stachowski (peterstac) |
Changed in trove: | |
assignee: | Peter Stachowski (peterstac) → Amrith Kumar (amrith) |
Changed in trove: | |
assignee: | Amrith Kumar (amrith) → nobody |
Reviewed: https:/ /review. openstack. org/411507 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=48f4fa52f9e bc2673ef8c55979 1a3c9355b15f07
Committed: https:/
Submitter: Jenkins
Branch: master
commit 48f4fa52f9ebc26 73ef8c559791a3c 9355b15f07
Author: Amrith Kumar <email address hidden>
Date: Fri Dec 16 06:13:15 2016 -0500
Fix Gate: Force pip2 instead of pip
Something appears to have caused the xenial guests to install all
python libraries into python 3.5 directories and therefore the guest
won't launch. This change forces pip2 and in theory should get around
that.
Moved Redis and PostgreSQL installs after the trove-dep ones.
Change-Id: I3bbe3bafa7ea3e 627272103ac16a3 8f6a32a8a06
Partial-Bug: #1650382