[release-announce] [tripleo] python-tripleoclient 7.2.0 (pike)

no-reply at openstack.org no-reply at openstack.org
Thu Jul 27 15:00:43 UTC 2017


We contentedly announce the release of:

python-tripleoclient 7.2.0: TripleO client

This release is part of the pike release series.

Download the package from:

    https://tarballs.openstack.org/python-tripleoclient/

For more details, please see below.

7.2.0
^^^^^


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

* A new command "openstack overcloud config download" has been added
  which enables download of the configuration data used by TripleO for
  debugging or running outside the control of the overcloud heat
  stack.  Note that running configuration tools outside of the heat
  stack experimental at this stage and should be used with caution.

* Add the *--deployed-server* flag that can only be used with the
  *--disable-validations*. When specified, allows to deploy an
  overcloud on the pre-provisioned nodes and ignores missing nova and
  ironic UC services.

* EXPERIMENTAL feature to install the undercloud with openstack heat
  add support for a containerized undercloud. It checks for
  prequisites and installs missing packages then deploys undercloud
  with heat-all.

* New flag *--install-kolla*, defaults to False. Adds or removes
  Kolla packages to/from the list of required packages to be installed
  by the "openstack undercloud deploy" command. Set it to True, if you
  want to build Kolla containers on the undercloud node as the part of
  your continuous deployment pipeline.

* Workflows, associated with plan-environment.yaml using
  workflow_parameters, are invoked before the actual deployment
  starts.

* Add new command "openstack overcloud node discover" for nodes
  discovery by probing a range of IP addresses for accessible BMCs.

* Added new os-image-name parameter, that replaces os-image one,
  because it was conflicting with glance parameter naming, causing os-
  image to don't work properly.

* Adds optional override of the plan environment file with custom
  plan environment file.

* Added a warning log with the list of deprecated parameters in the
  plan.


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

* If the operator specifies a roles_data.yaml for the deployment or
  upgrade this adds a check that the disable_upgrade_deployment flag
  is set at least once in that file and otherwise logs a warning. If
  the validation-warnings-fatal parameter is set to True (default is
  False) then this check will also raise an InvalidConfiguration
  exception.

* The environment configuration for deployments is now stored in a
  file called "plan-environment.yaml" and stored in Swift with the
  templates; Mistral is no longer used to store this data. Migration
  of the existing plans is handled automatically.


Bug Fixes
*********

* Each deploy command run by a user is now track in an history file
  under $HOME/.tripleo directory. It allow to retrieve all the
  previous calls from the openstack overcloud deploy command, the
  environment files used and the templates directories used, for
  analysis, debugging or tracking. See
  https://bugs.launchpad.net/tripleo/+bug/1673700

Changes in python-tripleoclient 7.1.0..7.2.0
--------------------------------------------

75978d7 Restrict file permissions of config download data
c7e6f9c Removing the default role to swiftoperator
c6cd190 Allow overcloud deploy on UC w/o nova/ironic
b4c2b6f Updated from global requirements
fe280a2 Add check for disable_upgrade_deployment flag in roles_data
05366f1 Create subdirectories per role for config dowload
805b7b7 Don't filter config keys by default
3d4e2d2 Rename download config to config download
838be92 Clean up duplicate workflow messages for plan actions
8f1e68d Added a warning log to list the deprecated parameters in the plan
97aeec5 Remove the unused function reset_parameters
0a78775 Remove the unused action wrapper for processing templates
3a0c877 Call undercloud pre-upgrade hook
d26d5c6 Dump all deployment role_data files to a config dir
16cfbd2 Add list options to overcloud container image build
daf0f04 New command "overcloud container image prepare"
38153d1 Move roles functions to tripleo-common
dd5cb78 Modified --os-image option in overcloud image upload
0d3e4ef Invokes specified workflows in plan env file
1229948 Revert "Call undercloud install function directly"
707418b Avoid empty print during validation workflow execution
0253ae7 Remove some unused attributes and methods from the deploy command
34165f8 Remove the unused, but well tested, function "check_nodes_count"
85f72e4 Remove unused function "check_hypervisor_stats"
f7dfd5d Remove unused function "unbracket_ipv6"
d94e09a Write out credentials for undercloud install
01b5835 Improve undercloud deploy logging
fa1683c create history for the overcloud deploy command
9a46856 Updated from global requirements
4b1daab Undercloud install, find the right server resource
b0de593 Optional override of the plan environment file
e1a4458 Make config options required
b6e7172 Call undercloud install function directly
5480b18 Updated from global requirements
15e9265 Replace assertRaisesRegexp with assertRaisesRegex
17589af Install heat_native deps dynamically
dd284c4 Drop --install-kolla option
a474c6d Clean up last mentions of Mistral environments
dcaecb4 Install prerequisites for undercloud deploy
c86212c Add 'overcloud node discover' command
47fb0b2 Remove support for py34
7c9fec0 Remove old image building code
961eca1 Use Swift to store Plan environment


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

...e-upgrade-deployment-flag-f074554e47e85b27.yaml |   8 +
.../notes/config_download-5ba7f496b2186b68.yaml    |   8 +
...overcloud-pre-provisioned-9d55ca9bda6c8a84.yaml |   7 +
...ploy-undercloud-with-heat-789655d324b2727b.yaml |  13 +
...invoke-plan-env-workflows-05421b1ee8be4733.yaml |   5 +
.../notes/ipmi-discovery-aaee9fb7082ffac4.yaml     |   5 +
...modify-os-image-parameter-004b1cc81df2b88e.yaml |   6 +
.../overcloud-deploy-history-4a54b53ac10e6542.yaml |   7 +
.../notes/override-plan-env-e3df45a51bda717e.yaml  |   4 +
.../stop-using-mistral-env-779df7d21b7b3a55.yaml   |   7 +
.../warn-deprecated-params-29197c5de2feb172.yaml   |   4 +
requirements.txt                                   |   6 +-
setup.cfg                                          |   5 +-
test-requirements.txt                              |   4 +-
tox.ini                                            |   2 +-
tripleoclient/constants.py                         |   3 +
tripleoclient/exceptions.py                        |   4 +
tripleoclient/heat_launcher.py                     |  70 ++-
.../v1/overcloud_config/test_overcloud_config.py   | 178 +++++++
.../v1/overcloud_deploy/test_overcloud_deploy.py   | 339 +++++++++----
.../v1/overcloud_image/test_container_image.py     | 242 +++++++++-
.../v1/overcloud_image/test_overcloud_image.py     | 266 -----------
.../v1/overcloud_roles/test_overcloud_roles.py     |  71 +--
tripleoclient/utils.py                             | 127 ++---
tripleoclient/v1/container_image.py                | 216 ++++++++-
tripleoclient/v1/overcloud_config.py               | 118 +++++
tripleoclient/v1/overcloud_deploy.py               | 126 +++--
tripleoclient/v1/overcloud_image.py                | 530 +--------------------
tripleoclient/v1/overcloud_node.py                 |  80 ++++
tripleoclient/v1/overcloud_plan.py                 |   9 +-
tripleoclient/v1/overcloud_roles.py                |  57 +--
tripleoclient/v1/undercloud.py                     |   4 +-
tripleoclient/v1/undercloud_deploy.py              |  79 ++-
tripleoclient/workflows/baremetal.py               |  31 ++
tripleoclient/workflows/parameters.py              |  89 +++-
tripleoclient/workflows/plan_management.py         |  91 ++--
tripleoclient/workflows/templates.py               |  17 -
tripleoclient/workflows/validations.py             |   2 +-
50 files changed, 2231 insertions(+), 1332 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 29313c0..bbaff35 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -11 +11 @@ python-heatclient>=1.6.1 # Apache-2.0
-python-ironicclient>=1.11.0 # Apache-2.0
+python-ironicclient>=1.14.0 # Apache-2.0
@@ -15 +15 @@ six>=1.9.0 # MIT
-osc-lib>=1.5.1 # Apache-2.0
+osc-lib>=1.7.0 # Apache-2.0
@@ -17 +17 @@ websocket-client>=0.32.0 # LGPLv2+
-tripleo-common>=5.7.0 # Apache-2.0
+tripleo-common>=7.1.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 12eb4e2..8503fa3 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -11 +11 @@ oslosphinx>=4.7.0 # Apache-2.0
-sphinx!=1.6.1,>=1.5.1 # BSD
+sphinx>=1.6.2 # BSD
@@ -17 +17 @@ requests-mock>=1.1 # Apache-2.0
-reno>=1.8.0 # Apache-2.0
+reno!=2.3.1,>=1.8.0 # Apache-2.0






More information about the Release-announce mailing list