We enthusiastically announce the release of: python-tripleoclient 11.5.1: TripleO client This release is part of the stein stable release series. The source is available from: https://opendev.org/openstack/python-tripleoclient Download the package from: https://tarballs.openstack.org/python-tripleoclient/ Please report issues through: https://bugs.launchpad.net/tripleo/+bugs For more details, please see below. 11.5.1 ^^^^^^ New Features ************ * The 'openstack tripleo validator list' subcommand can only display all the available parameters for the validations using the new --parameters argument and extract them to a file using the new --create-vars-file argument. * The validations can now be performed by calling Mistral or by calling "ansible-playbook". By default, the latter is used. The new "--use-mistral" option allows to execute either groups or a set of specific validations by calling Mistral instead of using the default mechanism, ie. "ansible-playbook". * The operator is now able to pass extra variables while executing validations through the command line. The command line will accept either a Dict with the new --extra-vars argument or the absolute path of a file (JSON or YAML when using ansible and JSON only when using Mistral) with the new --extra-vars-file argument. Bug Fixes ********* * The verbosity of the config-download ansible tasks for deployment are now controlled by the verbosity level specified on the command line. Changes in python-tripleoclient 11.5.0..11.5.1 ---------------------------------------------- a357740a Add exclusions to the unused param warning 4e285156 Log a warning when reset fails 7a68851c Use undercloud-connection to local for running validations with the CLI 4088a579 overcloud status: return a message if no deployment is found ba8871d3 Don't force verbosity of 1 for config-download 9b9b5aaa Pass undercloud's private key to inventory used in package_update. 17079abb Pass deployment_options to config download 6055817d Suppress output for ssh-keygen 6897c0f6 Run Validations with ThreadPoolExecutor ffb86df9 Use reset to fix cmdline b5839292 Allows to disable in-flight validations d5edfc3a Disable telemetry if it's not enabled fd7f4ec1 Additional resource cleanup aa8b0e98 Close resources correctly 38070104 Mock deployment action in upgrade tests aec307d1 Add gathering_policy parameter to run_ansible_playbook function af8dadea Use static inventory YAML file for saving execution time 439fcbf3 Don't use local connection by default for the validations 57070c82 Add plan parameter to run_ansible_playbook function 55fe3842 Add --parameters and --create-vars-file arguments to the list subcommand f42e4262 Allow running validations with custom extra variables e9b7f020 Add extra_vars parameter to run_ansible_playbook function f54216df Renaming 'Metadata' column by 'Parameters' when listing validations bffda018 Ensure files are closed, ensure no ResourceWarning on console 3f572d6f Allow running validations by group using Ansible by default 12b2ac27 Allow running validations by name using Ansible by default. f44be01b Add log_path_dir parameter 09d0a03d Allow run_update_ansible_action run with Mistral or Ansible Diffstat (except docs and test files) ------------------------------------- lower-constraints.txt | 1 + ...ts_to_the_list_subcommand-2e0944e5440c4216.yaml | 6 + ...-using-Ansible-by-default-2dac0dfd9c7a4690.yaml | 8 + ...th-custom-extra-variables-12c7277b30eb791d.yaml | 8 + ...config-download-verbosity-75fa34c110c00657.yaml | 4 + requirements.txt | 1 + tripleoclient/constants.py | 10 + .../test_overcloud_external_update.py | 4 +- .../test_overcloud_external_upgrade.py | 4 +- .../test_overcloud_ffwd_upgrade.py | 4 +- .../v1/overcloud_image/test_overcloud_image.py | 41 +-- .../v1/overcloud_roles/test_overcloud_roles.py | 6 + .../v1/overcloud_update/test_overcloud_update.py | 6 +- .../v1/overcloud_upgrade/test_overcloud_upgrade.py | 23 +- .../test_tripleo_validator.py} | 56 +++- tripleoclient/utils.py | 298 ++++++++++++++++++-- tripleoclient/v1/container_image.py | 3 +- tripleoclient/v1/overcloud_config.py | 1 + tripleoclient/v1/overcloud_deploy.py | 13 +- tripleoclient/v1/overcloud_external_update.py | 2 +- tripleoclient/v1/overcloud_external_upgrade.py | 2 +- tripleoclient/v1/overcloud_ffwd_upgrade.py | 4 +- tripleoclient/v1/overcloud_image.py | 98 +++---- tripleoclient/v1/overcloud_node.py | 1 + tripleoclient/v1/overcloud_plan.py | 1 + tripleoclient/v1/overcloud_roles.py | 6 + tripleoclient/v1/overcloud_update.py | 2 +- tripleoclient/v1/overcloud_upgrade.py | 2 +- tripleoclient/v1/tripleo_deploy.py | 2 +- tripleoclient/v1/tripleo_validator.py | 301 ++++++++++++++++++--- tripleoclient/v1/undercloud_config.py | 3 + tripleoclient/workflows/deployment.py | 45 ++- tripleoclient/workflows/parameters.py | 18 +- 39 files changed, 1067 insertions(+), 211 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 51e2d413..43b1aab9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,0 +21 @@ cryptography>=2.1 # BSD/Apache-2.0 +futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD
participants (1)
-
no-reply@openstack.org