openstack-ansible/playbooks/common-tasks
Matthew Thode 253ea10d26 Apply global-pins as constraints to ensure complete pinning
The current pinning method for pip/setuptools/wheel works for the
initial setup of a host or python venv. However, when a python
package which has one of these in its requirements is installed
onto the host or into the venv and the '--upgrade' option is given
to pip, the package will be upgraded to the latest version available
within the given constraints.

As OpenStack's requirements management process does not cater for
the pip, setuptools or wheel packages we need to ensure that all
python install tasks prior to the repo being built use our global
pins as a constraint in addition to the OpenStack uppser constraints.

As pip's --constraints option can only take a file as an argument
we have to copy the global pins file to the target which will use
it. This file can be removed from the host once the repo is built.

Related-Bug: #1658773
Closes-Bug: #1658948
Change-Id: Iccbb2e4a126a1cc7a4c94ab41b7ce8ef54d89990
2017-01-24 12:47:45 +00:00
..
dynamic-grouping.yml Dynamically group Neutron OVS DVR to compute 2016-12-15 08:44:01 -06:00
mysql-db-user.yml Cleanup/standardize common tasks 2016-07-21 17:18:26 -05:00
os-log-dir-setup.yml Cleanup/standardize common tasks 2016-07-21 17:18:26 -05:00
os-lxc-container-setup.yml Process and mount default bind mounts first 2016-12-07 14:29:53 +01:00
package-cache-proxy.yml Add retries to apt update in cache proxy task 2016-12-16 07:31:44 -06:00
rabbitmq-vhost-user.yml Support multiple rabbitmq clusters 2016-08-25 10:40:45 +00:00
set-pip-upstream-url.yml Use get-pip script from repo release folder 2016-12-02 17:11:22 +00:00
set-upper-constraints.yml Apply global-pins as constraints to ensure complete pinning 2017-01-24 12:47:45 +00:00