[openstack-announce] [new][openstackansible] openstack-ansible 12.2.0 release

no-reply at openstack.org no-reply at openstack.org
Tue Aug 2 14:58:22 UTC 2016


We are glowing to announce the release of:

openstack-ansible 12.2.0: Ansible playbooks for deploying OpenStack

With source available at:

    http://git.openstack.org/cgit/openstack/openstack-ansible

For more details, please see below.

12.2.0
^^^^^^


New Features
************

* A new variable has been added to allow a deployer to control the
  restart of containers via the handler. This new option is
  "lxc_container_allow_restarts" and has a default of "true". If a
  deployer wishes to disable the auto-restart functionality they can
  set this value to "false" and automatic container restarts that are
  not absolutely required will be disabled.

* The "py_pkgs" lookup plugin now has strict ordering for
  requirement files discovered. These files are used to add additional
  requirements to the python packages discovered. The order is defined
  by the constant, "REQUIREMENTS_FILE_TYPES" which contains the
  following entries, 'test-requirements.txt', 'dev-requirements.txt',
  'requirements.txt', 'global-requirements.txt', 'global-requirement-
  pins.txt'. The items in this list are arranged from least to most
  priority.

* The "repo_build" role now provides the ability to override the
  upper-constraints applied which are sourced from OpenStack. The
  variable "repo_build_upper_constraints_overrides" can be populated
  with a list of upper constraints.


Upgrade Notes
*************

* During a kilo to liberty upgrade, container and service restarts
  for the mariadb/galera cluster were being triggered multiple times
  and causing the cluster to become unstable and often unrecoverable.
  This situation has been improved immensely, and we now have tight
  control such that restarts of the galera containers only need to
  happen once, and are done so in a controlled, predictable and
  repeatable way.


Bug Fixes
*********

* The "repo_build" role now correctly applies OpenStack requirements
  upper-constraints when building Python wheels. This resolves
  https://bugs.launchpad.net/openstack-ansible/+bug/1605846

Changes in openstack-ansible 12.1.0..12.2.0
-------------------------------------------

876b25a Provide ability to override upper-constraints
5cb4b90 Better control of mariadb restarts in k>l upgrades
bf8d8f7 Clean tempest dir before cloning.
a940f16 Fix config entry regression introduced in container restart patch
7055f79 Fix setting of upper_constraints fact
737cfa6 Update all SHAs for 12.1.1
bc0046b Allow a deployer to disable container restarts
fcd409f Fix the computed constraints
c5484b5 Update the lookup plugin to force dep ordering
7e8b5e7 Skip unavailable hosts when distributing keys
4f9d8c6 Allow metadata_host to be different to LB VIP


Diffstat (except docs and test files)
-------------------------------------

ansible-role-requirements.yml                      |  2 +-
global-requirement-pins.txt                        | 16 +++++-
.../defaults/repo_packages/openstack_services.yml  | 26 +++++-----
playbooks/inventory/group_vars/all.yml             |  2 +-
playbooks/inventory/group_vars/hosts.yml           |  2 +-
playbooks/plugins/lookups/py_pkgs.py               | 16 ++++--
.../galera_server/tasks/galera_upgrade_post.yml    | 22 +++-----
.../roles/lxc_container_create/defaults/main.yml   |  2 +
.../roles/lxc_container_create/handlers/main.yml   |  1 +
.../tasks/container_create.yml                     | 21 ++++++--
playbooks/roles/os_nova/defaults/main.yml          |  1 +
.../os_nova/tasks/nova_compute_key_distribute.yml  |  1 +
playbooks/roles/os_nova/templates/nova.conf.j2     |  2 +-
.../roles/os_tempest/tasks/tempest_install.yml     | 10 ++++
playbooks/roles/repo_build/defaults/main.yml       |  6 +++
.../roles/repo_build/tasks/repo_set_facts.yml      | 17 +++++--
.../templates/requirements_constraints.txt.j2      |  4 +-
...-container-restart-option-8c7f5b20b9414ead.yaml |  8 +++
.../notes/force-dep-order-2c529683509e45da.yaml    |  9 ++++
.../mariadb-rolling-upgrades-323510425c3c7751.yaml |  8 +++
...ild-fix-upper-constraints-9e24c56520538df2.yaml |  6 +++
...pper-constraints-override-6853ffec6c07d7f5.yaml |  6 +++
requirements.txt                                   | 25 +++++----
scripts/run-upgrade.sh                             | 21 ++++++--
scripts/scripts-library.sh                         |  2 +-
scripts/sources-branch-updater.sh                  |  6 +--
.../playbooks/galera-cluster-rolling-restart.yml   | 59 ++++++++++++++++++++++
27 files changed, 229 insertions(+), 72 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index b220760..24d9c3d 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,13 +1,12 @@
-Jinja2>=2.6             # ansible
-netaddr>=0.7.12         # playbooks/inventory/dynamic_inventory.py
-paramiko>=1.13.0,<2     # ansible
-PrettyTable>=0.7,<0.8   # scripts/inventory-manage.py
-pycrypto>=2.6           # ansible
-PyYAML>=3.1.0           # ansible
-###
-### These are pinned to ensure exactly the same behaviour forever!   ###
-### These pins are updated through the sources-branch-updater script ###
-###
-pip==8.1.2
-setuptools==23.1.0
-wheel==0.26.0
+# The order of packages is significant, because pip processes them in the order
+# of appearance. Changing the order has an impact on the overall integration
+# process, which may cause wedges in the gate later.
+pip>=6.0 # MIT
+setuptools>=16.0,!=24.0.0 # PSF/ZPL
+wheel # MIT
+Jinja2>=2.8 # BSD License (3 clause)
+netaddr>=0.7.12,!=0.7.16 # BSD
+paramiko>=2.0 # LGPLv2.1+
+PrettyTable>=0.7,<0.8 # BSD
+pycrypto>=2.6 # Public Domain
+PyYAML>=3.1.0 # MIT





More information about the OpenStack-announce mailing list