diskimage-builder/elements/pip-and-virtualenv
Peter Stachowski 280896759a Pip install as 10- incompatible with 05-heat-cfntools
Tripleo-image-elements have an install.d file '05-heat-cfntools' that runs
the following command:

virtualenv --setuptools $VENV

With the recent change to diskimage-builder (moving the install of pip
and virtualenv to the 10- range) virtualenv is no longer available for
this elementr; as a side-effect, the trove kick-start command is now
broken and gate jobs are failing.

The solutions is to move the (now) 10-install-pip to 04-install-pip.
This should still alleviate the race condition that
https://review.openstack.org/#/c/408277/ attempted to fix, as all
*-package-installs files are 00-, 01- or 02-.

Change-Id: Ia4e01f00c4c5e9a2087df1e2a91d9154480a0422
Closes-Bug: #1650008
2016-12-14 20:50:00 +00:00
..
install.d/pip-and-virtualenv-source-install Pip install as 10- incompatible with 05-heat-cfntools 2016-12-14 20:50:00 +00:00
element-deps Fix pip-and-virtualenv to work with python3 2016-12-14 17:14:02 +11:00
package-installs.yaml Fix pip-and-virtualenv to work with python3 2016-12-14 17:14:02 +11:00
pkg-map Fix pip-and-virtualenv to work with python3 2016-12-14 17:14:02 +11:00
README.rst Pip install as 10- incompatible with 05-heat-cfntools 2016-12-14 20:50:00 +00:00
source-repository-pip-and-virtualenv add pkg-map to pip-and-virtualenv element 2016-03-21 20:12:37 -05:00

==================
pip-and-virtualenv
==================

This element installs pip and virtualenv in the image. If the package
installtype is used then these programs are installed from distribution
packages. If the source installtype is used these programs are installed
from get-pip.py and pip (respectively).

To install pip and virtualenv from package:

  export DIB_INSTALLTYPE_pip_and_virtualenv=package

Any element that uses these commands must be designated as
05-* or higher to ensure that they are first installed.