We joyfully announce the release of: python-tripleoclient 16.0.0: TripleO client This release is part of the wallaby 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. 16.0.0 ^^^^^^ New Features ************ * Added option "enable_frr" to enable the TripleO FRR service in standalone and undercloud deployments. * The --setup-only option has been added to facilitate the generation of ansible content and ensure the environment is accessible via the current stack. * A consistent working directory is now used by the openstack overcloud deploy command. The directory contains input files, generated files, and log files, among others. The directory defaults to ~/overcloud-deploy/<stack>. The old default config-download directory at ~/config-download/<stack> is now a symlink to the new location at ~/overcloud-deploy/<stack>/config-download/<stack> for backwards compatibility. * The container image build command now has the ability to inject labels into various images being constructed. To add labels into a container, the argument *--label* can be specified multiple times. The value is always a key=value pair and each key must be unique. * Adds *auth_token_lifetime* to undercloud.conf with a default of 14400. This configuration option exposes the keystone token expirataion as a top level configuration since it may need to be increased to handle larger clouds. Upgrade Notes ************* * "openstack overcloud parameters set" command has been removed. It was used to update the plan parameters. Now that we use sever side parameter merging and no plan, this is not relevant anymore. * "openstack overcloud plan *" commands have been removed. These commands are irrelevant as overcloud deploy/update/upgrade does not create/update swift plan anymore. Also, some of the "openstack overcloud role" commands that use swift plan have been removed. Deprecation Notes ***************** * With the move to Nova-less provisioning and Neutron network management being removed from being managed via Heat, the undercloud minion functionality is now deprecated. * The --plan-environment-file option of openstack tripleo deploy command is now deprecated and not used. Bug Fixes ********* * Removing the deprecated "-e" and "--templates" switches to *overcloud node delete*. This is causing confusion to the operators. Other Notes *********** * The container image build label agument has the ability to do simple string replacements following the python standard. Available options for string replacement are *registry*, *namespace*, *prefix*, *image*, *tag*, and *name*. Example usage *--label component="%(prefix)s-%(name)s-container"*. Changes in python-tripleoclient 15.0.0..16.0.0 ---------------------------------------------- 50afcda1 Set config_download_dir for each stack when exporting Ceph 8edaf4eb Declare is_failed_validation variable before if statement 8b4d3268 Update overcloud export for new working directory 986f9261 Move static-inventory option into parser group a5471a4a [Validator Run] Add return code management 4e556da8 [UX] Align to left the table for the validations run results 2aeef0ee Use MultiKeyActionValue action for extra-[env-]vars arguments 49c5c31b Standalone set %service%VirtualFixedIPs abfedf30 Wire up --disable-container-prepare a7b0b5e4 Restore old config-download symlink to new location eb6d660e Revert the move of tripleo_validator in tripleo-validation 05168008 BM Provisioning - Apply node network config 3fc20a82 Refactor BM deployment to use '--work-dir' - [2/2] 7c927208 Bump up the version for osc-lib as ooo-validations need it. dc07649e Absolutize path for CIP output env b503d589 Don't initialize deploy_message again 8d760881 Fix make_config_download_dir() add3c406 Fix overcloud status command 9f9a7e9f Refactor BM deployment to use '--work-dir' [1/2] d8e4878e Update tripleo launch heat for HeatPodLauncher bb9ba5db Drop deprecation warning for OpenDaylight support 2d26e819 Add parameter to specify ca_cert 74c42829 Remove unnecessary zuul layout overrides use templates instead fe39c4c9 Do not use ironic/nova for generate_fencing 0f9fbfa5 Add HeatPodLauncher 40cca25a Remove unnecessary mocks in tests 733083dc Remove enable_tempest flag from tripleoclient 590df663 UX improvement when no nodes are found c6380a60 Revert "Revert "Add environment variables for better var handling"" 6aa5a92e Revert "Add environment variables for better var handling" d4d8d875 Fix AttributeError 0736e447 Copy the inventory for standalone deploy in output_dir 5dad0c35 Add environment variables for better var handling 600c7df8 Don't use mistral actions for baremetal workflow 051e80d0 Predictable dir for heat launcher 54d7271c Add faultwrap filter to paste pipeline for heat-all 336808ba Use a consistent working dir for deployment 2c5927a5 Add label argument for the container image build 4a8ab942 Remove default plan-environment.yaml references 0fa80989 Update default container registry to quay.io 49dc0836 parameter was covering covering `type` built in 4b0b290e Fix node delete to not use overcloud plan 9fce6e1c Remove overcloud set parameter command 3f6bfbaa Allow writing byte strings with safe_write 945882fe Modifying Openstack client for undercloud and overcloud backup 132c4d3d Track leftover files in config-download 1feed0e5 Remove keep_env_on_update logic 7d35e85e Bring back check_deprecated_parameters 3739872b Allow enabling swift on undercloud ea363cbf Fix image parameter update 9d5dd3bd Use extra_vars_file for json stack_data 1b527d0a node provision, Set vars for generating inventory 16789038 Add user-environment files to archive 668ac122 Fix get_deployment_status() 5e5b4fa2 Use full path of networks_file for minion 876b24b5 Disable swift on undercloud d2b81152 Don't use swift plan when exporting passwords 1603ed45 Remove plan/plan-role management commands 6e802d23 Locally keep deployment_status 2bd39e61 Archive overcloud deploy artifacts 438e53ad Add auth_token_lifetime to undercloud.conf be580c66 Add new option for `setup-only` 8b3fa1bf Write ansible-playbook-command.sh to workdir not playbook_dir 0b872060 Quote $@ in ansible-playbook-command.sh b2b765a8 Ignore stack-vstate-dropin.yaml for minion and uc e93244a2 Refactor jinja rendering of templates 5027962d Don't create/update plan for overcloud deploy 258ecb54 Use heat server side env merging d76a3ab9 Drop --update-plan-only e0eea8c5 Create overcloudrc using stack environment 261f4685 Deprecate minion commands 3e053974 Get gid and uid methods are now members of HeatBaseLauncher e3c11875 Dedup host entries in the exported data for stacks fd1d6649 Add enable_frr option e366699b Removing deprecated arguments for node delete cbfe5284 Remove orchestration section from tempest-deployer-input.conf b8c319d9 Use TOX_CONSTRAINTS_FILE Diffstat (except docs and test files) ------------------------------------- .../add-frr-service-option-71c20b6512f435dc.yaml | 5 + ...onfig-download-setup-only-1423abc46b294939.yaml | 5 + .../consistent-deploy-dir-b16c43c4f94c03ca.yaml | 9 + .../notes/deprecate-minion-83d87a36a2e74ecc.yaml | 6 + ...loy-plan-environment-file-baeebec064bfd44a.yaml | 5 + .../notes/image-build-labels-97fda64f693cd8ba.yaml | 12 + ...elete-deprecated-switches-299df71bf6dfe450.yaml | 5 + ...-overcloud-parameters-set-346ef5321475deea.yaml | 6 + ...e-overcloud-plan-commands-69e89097fc9351fa.yaml | 8 + ...tempest-container-support-f25054588ad1a860.yaml | 8 + ...-expiration-configuration-6159d733f09e1b6e.yaml | 6 + requirements.txt | 2 +- setup.cfg | 18 +- templates/ephemeral-heat/heat-pod.yaml.j2 | 105 +++ templates/ephemeral-heat/heat.conf.j2 | 43 ++ tripleoclient/config/standalone.py | 12 +- tripleoclient/config/undercloud.py | 10 +- tripleoclient/constants.py | 29 +- tripleoclient/exceptions.py | 4 + tripleoclient/export.py | 31 +- tripleoclient/heat_launcher.py | 385 ++++++++-- .../v1/overcloud_deploy/test_overcloud_deploy.py | 788 +++++++++------------ .../v1/overcloud_upgrade/test_overcloud_upgrade.py | 2 +- tripleoclient/utils.py | 385 ++++++++-- tripleoclient/v1/container_image.py | 3 +- tripleoclient/v1/minion_config.py | 3 +- tripleoclient/v1/overcloud_backup.py | 157 +++- tripleoclient/v1/overcloud_cell.py | 6 +- tripleoclient/v1/overcloud_credentials.py | 12 +- tripleoclient/v1/overcloud_deploy.py | 636 ++++++++--------- tripleoclient/v1/overcloud_export.py | 16 +- tripleoclient/v1/overcloud_export_ceph.py | 17 +- tripleoclient/v1/overcloud_node.py | 18 - tripleoclient/v1/overcloud_parameters.py | 50 -- tripleoclient/v1/overcloud_plan.py | 227 ------ tripleoclient/v1/overcloud_plan_roles.py | 158 ----- tripleoclient/v1/tripleo_deploy.py | 111 +-- tripleoclient/v1/tripleo_launch_heat.py | 156 +++- tripleoclient/v1/tripleo_validator.py | 526 ++++++++++++++ tripleoclient/v1/undercloud_backup.py | 129 +++- tripleoclient/v1/undercloud_config.py | 21 +- tripleoclient/v1/undercloud_minion.py | 6 + tripleoclient/v2/overcloud_node.py | 40 +- tripleoclient/v2/tripleo_container_image.py | 32 + tripleoclient/workflows/baremetal.py | 341 +++++++-- tripleoclient/workflows/deployment.py | 280 ++++---- tripleoclient/workflows/parameters.py | 91 ++- tripleoclient/workflows/plan_management.py | 412 ----------- tripleoclient/workflows/roles.py | 76 +- tripleoclient/workflows/scale.py | 158 ++++- zuul.d/layout.yaml | 51 +- 74 files changed, 4441 insertions(+), 3842 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 6e7279e5..ca97e077 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15 +15 @@ six>=1.10.0 # MIT -osc-lib>=1.8.0 # Apache-2.0 +osc-lib>=2.3.0 # Apache-2.0