3 Commits

Author SHA1 Message Date
Hugh Saunders
41f42be6cc Filter pre_release versions of packages
Get-pypi-pkg-version should not return pre release versions. This comit
filters them out with a simple regex.

Change-Id: I3919fc1a9872250acc100e751f4b78cc857b3348
2016-09-24 20:36:00 +00:00
Travis Truman
e6ad4cf7cf Update all SHAs for Newton 2016-07-20
This patch updates all the roles to the latest available SHA's,
updates all the OpenStack Service SHA's and also updates the
appropriate python requirements pins.

This patch also includes the following changes to unblock the gate.

* os_.* services need RabbitMQ connection config The
  *_rabbitmq_host_group vars.

* Recent changes in the os_nova role require us to bump all of the
  SHAs to support a more updated newton release.

* changes to "get-pypi-pkg-version.py" were required because pypi
  no longer allows http requests.

* The "repo_build_pip_no_binary" capability has been added to the
  AIO to support a fully capable "libvirt-python" library which is
  required by nova. This ensures that the OpenStack-Infra provided
  wheels are not used as they are compiled without the right C
  libraries on the host.

* Ansible is configured to use ssh instead of 'smart' connections
  and to use a shorter timeout. This change is made to improve the
  reliability and speed of connections and to prevent flip-flopping
  between ssh and paramiko connectivity.

* "ansible_ssh_extra_args" are set in group_vars/all to improve
  performance.

Change-Id: I4509b11684efda20defe3ebe0a651a8db9a61f70
Implements: blueprint multi-rabbitmq-clusters
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-07-21 14:12:54 +01:00
Jesse Pretorius
ab2834ef8e Use current, but pinned versions of pip, setuptools and wheel
This patch provides a convenience script to check for the current
version of any package on PyPI, then output it in various ways.

This script is used in the SHA updating script in order to provide
a current set of critical packages to ensure that each SHA bump
includes an update to a current version of pip, setuptools and
wheel but also to ensure that they are pinned to a specific version
with this particular set of packages.

This ensures that we keep current with these packages as they
change, but also ensures that the versions tested for each tag are
the versions used forever.

The patch also ensures that any package installed by pip is upgraded
to the expected versions.

Depends-On: I0a78135737c40a505d77df6ed67da0ef6695bfcb
Change-Id: I61795b3afb4804060d494a08975c10adcf52f468
2016-03-02 20:06:24 +00:00