We eagerly announce the release of: python-tripleoclient 8.0.0: TripleO client This release is part of the queens release series. Download the package from: https://tarballs.openstack.org/python-tripleoclient/ For more details, please see below. 8.0.0 ^^^^^ New Features ************ * The "openstack overcloud container image tag discover" command is provided to discover the version-based tag by inspecting the image from a stable tag like 'current-tripleo-rdo'. Stable tags like 'latest' or 'pike' can't be used for container updates because something needs to change to trigger the new containers being pulled. Without this command it would be up to the user to find out what versioned tag to specify when calling prepare. * A new -n/--networks-data option has been added. This allows overriding the default network_data.yaml, similar to the existing interface for roles_data.yaml. * The "openstack overcloud container image prepare" command can now filter the image list by the containerized services being deployed. This is done by specifying the heat environment files which enable containerized services. * Added a warning message to provide the list of parameters which are not used in a deployment plan, but provided by the user via environments. Deprecation Notes ***************** * The command "openstack overcloud container image prepare" has deprecated the --pull-source argument. The source registry should now be specified as part of the --namespace argument. Bug Fixes ********* * "overcloud deploy" now fails early if a path specified for "-- environment-directory" does not exist. See bug 1697031. Changes in python-tripleoclient 7.2.0..8.0.0 -------------------------------------------- b6693c1 Don't doube kill heat_all 1feccda Do not rely on openstack-puppet-modules 8a7da9f Implement minor update workflow with config download 62f5996 Add undercloud hostname. aacefea Fix error handling for actions 48ece99 Add tests for networks-data option cd4f49a Remove the duplicated success message a9b5d75 Updated from global requirements fa4b8fb Handle when lists not only string in config download ad27689 Fix usage of method isotime c6db7ce Updated from global requirements d66114a Add neutron_driver value to prepare command fc159bc Fix py27 tests - expand the regex when adding 'when' to playbook f7370dd Fix some reST field lists in docstrings eca5393 Command to discover the versioned tag from latest 954ed90 Filter out disabled services from prepare command 8048635 Consume new RoleConfig data in config download 53f7908 Convert step to integer in when statement for upgrade tasks 6589827 Remove printing the introspection status 24f1d62 Use Python to compute release notes version 1787085 Mock out the creation of the tempest config 8c328b6 Deprecate --pull-source for container prepare command fb94d56 Add a warning message for the list of unused parameters 8a1d806 Updated from global requirements 3195239 Remove the unused function "create_default_plan" cd1eb1e Filter container images by deployed services 39293a7 Write breakpoint cleanup env to swift 9bb593b Write rhel registration parameters env to swift ca8e84f Write user parameters environment to swift 112dbb1 Add -n/--networks-data option c2ea613 Adds when in upgrade_tasks playbook written by config download b1df493 Add --set argument to prepare command 66c902a Increase timeout in get_deprecated_parameters workflow 1732491 Update reno for stable/pike 3358537 Change tag link in README to the newest address 9ff9b7c Minor fixes for container image prepare command 1b65854 Install policycoreutils-python c20150c Skip empty resource_registry sections f468bf7 Check for stack failure earlier in undercloud deploy 7efe0f1 Fail early in case of error in env directory path d6d6675 Replaces yaml.load() with yaml.safe_load() b60d221 Use simplejson to load json file Diffstat (except docs and test files) ------------------------------------- README.rst | 6 +- bindep.txt | 1 + .../deprecate-pull-source-1d904126040c2eb1.yaml | 5 + .../notes/discover-tag-3b0b073a95178e82.yaml | 9 + .../fail-on-wrong-env-dir-b1d0530052002e57.yaml | 6 + .../networks_data_option-6c613c0d118ccfc8.yaml | 6 + .../notes/prepare-service-4281d7358be7450a.yaml | 5 + .../unused-param-warning-c5717c129adf543a.yaml | 5 + releasenotes/source/conf.py | 5 +- releasenotes/source/index.rst | 1 + releasenotes/source/pike.rst | 6 + requirements.txt | 9 +- setup.cfg | 2 +- test-requirements.txt | 6 +- tripleoclient/constants.py | 4 + tripleoclient/exceptions.py | 4 +- tripleoclient/fake_keystone.py | 9 +- .../v1/overcloud_config/test_overcloud_config.py | 146 +---------- .../v1/overcloud_deploy/test_overcloud_deploy.py | 257 ++++++++++++++---- .../v1/overcloud_image/test_container_image.py | 290 ++++++++++++++++++++- .../v1/overcloud_update/test_overcloud_update.py | 80 ++++-- tripleoclient/utils.py | 15 +- tripleoclient/v1/baremetal.py | 6 +- tripleoclient/v1/container_image.py | 158 ++++++++++- tripleoclient/v1/overcloud_config.py | 68 +---- tripleoclient/v1/overcloud_deploy.py | 104 +++++++- tripleoclient/v1/overcloud_parameters.py | 4 +- tripleoclient/v1/overcloud_update.py | 160 +++++++----- tripleoclient/v1/undercloud_deploy.py | 16 +- tripleoclient/workflows/baremetal.py | 17 +- tripleoclient/workflows/package_update.py | 54 ++-- tripleoclient/workflows/parameters.py | 11 +- tripleoclient/workflows/plan_management.py | 45 ++-- 35 files changed, 1063 insertions(+), 579 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index bbaff35..ac2a4c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7 +7 @@ Babel!=2.4.0,>=2.3.4 # BSD -ipaddress>=1.0.7;python_version<'3.3' # PSF +ipaddress>=1.0.16;python_version<'3.3' # PSF @@ -10 +10 @@ python-ironic-inspector-client>=1.5.0 # Apache-2.0 -python-heatclient>=1.6.1 # Apache-2.0 +python-heatclient>=1.10.0 # Apache-2.0 @@ -13 +13,2 @@ python-mistralclient>=3.1.0 # Apache-2.0 -python-openstackclient!=3.10.0,>=3.3.0 # Apache-2.0 +python-openstackclient>=3.12.0 # Apache-2.0 +simplejson>=3.5.1 # MIT @@ -16 +17 @@ osc-lib>=1.7.0 # Apache-2.0 -websocket-client>=0.32.0 # LGPLv2+ +websocket-client>=0.33.0 # LGPLv2+ diff --git a/test-requirements.txt b/test-requirements.txt index 8503fa3..0f70d56 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9 +9 @@ fixtures>=3.0.0 # Apache-2.0/BSD -mock>=2.0 # BSD +mock>=2.0.0 # BSD @@ -14 +14 @@ testtools>=1.4.0 # MIT -requests-mock>=1.1 # Apache-2.0 +requests-mock>=1.1.0 # Apache-2.0 @@ -17 +17 @@ requests-mock>=1.1 # Apache-2.0 -reno!=2.3.1,>=1.8.0 # Apache-2.0 +reno>=2.5.0 # Apache-2.0