python-tripleoclient 12.2.0 (train)
We are glad to announce the release of: python-tripleoclient 12.2.0: TripleO client This release is part of the train 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. 12.2.0 ^^^^^^ 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 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. * Enable new preflight check on the undercloud, using ansible playbooks from openstack-tripleo-validations. * Check runs differently if we're on a brand new deploy or an upgrade, as we don't need the same amount of free space. * Disable the container healthchecks on the Undercloud in the undercloud.conf with the new option container_healthcheck_disabled, false by default. * Introduce new "--no-inflight-validations" option in order to deactivate those validations. It defaults to "False", since we want them by default. * New command "openstack overcloud node unprovision" This is a companion command to "openstack overcloud node provision" which is required for scale-down and should be run after "openstack overcloud deploy". It will undeploy any instance which has provisioned=False in the supplied roles yaml. * [1] provides the steps on how to setup multiple cells using tripleo. This requires to extract deployment information from the overcloud /control plane stack which then is used as input for the cell deployment. With this patch we provide a new tripleoclient functionality which helps to automate the export steps from [1]: * Export the default cell EndpointMap * Export the default cell HostsEntry * Export AllNodesConfig and GlobalConfig information * Export passwords [1] https://docs.openstack.org/tripleo- docs/latest/install/advanced_deployment/deploy_cellv2.html#deploy- an-additional-nova-cell-v2 * With the new podman container setup comes an Apache served local image registry. *openstack tripleo container image push* allows you to maintain those images, and add new images as required. Upgrade Notes ************* * The rhel registration options that were part of the *openstack overcloud deploy* have been removed. Please use the *RhsmVars* option in an environment file to deploy. See https://docs.openstack.org/tripleo- docs/latest/install/advanced_deployment/rhsm.html * Support for the "cisco-ucs-managed" and "cisco-ucs-standalone" hardware types has been removed since these hardware types have been removed from Ironic due to lack of maintenance. Changes in python-tripleoclient 12.1.0..12.2.0 ---------------------------------------------- 2600260b Ensure no duplicate IPs are used in undercloud.conf 531f36e4 Set policycoreutils package name for RHEL/CentOS 8 b5b5cab6 Fix race in execution finishing b25a9a95 Add exclusions to the unused param warning 5afa9c86 Clarify the purpose of --http-boot 67d41db5 Log a warning when reset fails 5075a763 Use undercloud-connection to local for running validations with the CLI 71135833 overcloud status: return a message if no deployment is found 5d45c19d Some release notes were in the wrong place, moved them. d2cdde06 Remove run_shell, a unused function 7e5b1331 Always specify interface for vips 83f1c6c7 Add support for local image push 2a0266da New command "openstack overcloud node unprovision" 28a3d020 Pass undercloud's private key to inventory used in package_update. bdfd3bfb Implement tripleo container image push command 405e6292 Remove _get_default_role_counts, a unused function f5028ac3 Remove all_unique, a unused utility function 7f3853ab Remove get_overcloud_passwords, a unused function 671313de Remove converge_nodes functions, unused package_update code f2e403a1 Use python docstring. fddcb9e0 Use reset to fix cmdline 8a5d3542 Move enable_nova after enable_ironic bf48dbc8 Adds new "--no-inflight-validations" option to deploy CLI b40c9e3b Suppress output for ssh-keygen 768d20cf Exit listing validations with a proper return code c8ccbc12 Remove download_ansible_playbooks, a unused util function 90be7d7a Remove wait_for_provision_state, a unused utility function 48ed65c2 Removed set_nodes_state, a unused utility function fdf79cf4 Run Validations with ThreadPoolExecutor 32e53e60 Allows to disable in-flight validations 84493f34 Add minion job 0faa33a6 Disable telemetry if it's not enabled a6b92041 Use logger module instead print. 6e13179e Additional resource cleanup 29971899 Replace warn with warning method 65215859 Close resources correctly ac7ae9e8 Pass deployment_options to config download 7de33c13 Bump the openstackdocstheme extension to 1.20 0521f0a5 Fail correctly if can't create output files 1be46111 Remove rhsm cli options e1cb3042 Mock deployment action in upgrade tests d7793ce1 Add gathering_policy parameter to run_ansible_playbook function 4f55cdf5 Use static inventory YAML file for saving execution time 82887ef2 Don't use local connection by default for the validations 17e56a01 Add plan parameter to run_ansible_playbook function d242ad7c Write minion preflight checks b1bd2829 Output oslo messaging info for the minion 719267e4 Remove support for Cisco hardware types 3e03e3b7 Add --concurrency argument to introspect commands e099e19a Add Python 3 Train unit tests aa0d29fb Add overcloud cell export command 979e100b Fix minion_local_interface d1084193 Add --parameters and --create-vars-file arguments to the list subcommand d13a7d50 Allow running validations with custom extra variables 35952145 Add extra_vars parameter to run_ansible_playbook function 92a2fda8 Make mistral optional for Ansible Update and Upgrade 13f6bd48 Add --baremetal-deployment to overcloud deploy cmd 4c4633f0 update constraints url Diffstat (except docs and test files) ------------------------------------- bindep.txt | 3 +- lower-constraints.txt | 1 + ...ts_to_the_list_subcommand-2e0944e5440c4216.yaml | 6 + ...th-custom-extra-variables-12c7277b30eb791d.yaml | 8 + ...eck-undercloud-disk-space-709ebf574e91ae3a.yaml | 1 - ...-registration-cli-removal-cf36ac9fb4d81a04.yaml | 6 + .../healthcheck_disabled-d0878072273d1496.yaml | 0 ...nflight-validation-option-9e3f70b5bcb8dea9.yaml | 5 + releasenotes/notes/no-cisco-bdddc17abb5f2847.yaml | 6 + .../notes/node-unprovision-dd400e58f2f479a2.yaml | 10 + .../overcloud-cell-export-4a51243ab002935a.yaml | 15 + ...pleo-container-image-push-0bff071650976f52.yaml | 8 + releasenotes/source/conf.py | 14 +- requirements.txt | 1 + setup.cfg | 5 +- tox.ini | 2 +- tripleoclient/constants.py | 12 +- tripleoclient/exceptions.py | 4 + .../v1/overcloud_deploy/test_overcloud_deploy.py | 293 ++++------------ .../v1/overcloud_image/test_overcloud_image.py | 33 +- .../v1/overcloud_roles/test_overcloud_roles.py | 6 + .../v1/overcloud_upgrade/test_overcloud_upgrade.py | 11 +- .../test_tripleo_validator.py} | 26 +- tripleoclient/utils.py | 372 +++++++++++---------- tripleoclient/v1/container_image.py | 167 +++++++-- tripleoclient/v1/minion_config.py | 6 +- tripleoclient/v1/overcloud_cell.py | 198 +++++++++++ tripleoclient/v1/overcloud_config.py | 1 + tripleoclient/v1/overcloud_deploy.py | 153 +++------ tripleoclient/v1/overcloud_external_update.py | 32 +- tripleoclient/v1/overcloud_external_upgrade.py | 32 +- tripleoclient/v1/overcloud_ffwd_upgrade.py | 20 +- tripleoclient/v1/overcloud_image.py | 109 +++--- tripleoclient/v1/overcloud_node.py | 57 +++- tripleoclient/v1/overcloud_plan.py | 1 + tripleoclient/v1/overcloud_roles.py | 6 + tripleoclient/v1/overcloud_update.py | 23 +- tripleoclient/v1/overcloud_upgrade.py | 23 +- tripleoclient/v1/tripleo_deploy.py | 10 +- tripleoclient/v1/tripleo_validator.py | 370 ++++++++++++++------ tripleoclient/v1/undercloud_config.py | 71 +++- tripleoclient/v1/undercloud_preflight.py | 44 ++- tripleoclient/workflows/baremetal.py | 35 +- tripleoclient/workflows/base.py | 12 +- tripleoclient/workflows/deployment.py | 43 ++- tripleoclient/workflows/package_update.py | 73 +--- tripleoclient/workflows/parameters.py | 72 ++-- zuul.d/layout.yaml | 11 +- 67 files changed, 2203 insertions(+), 1053 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 3f5c9329..974c8143 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