We enthusiastically announce the release of: python-tripleoclient 10.3.0: TripleO client This release is part of the rocky release series. Download the package from: https://tarballs.openstack.org/python-tripleoclient/ For more details, please see below. 10.3.0 ^^^^^^ New Features ************ * In order to allow overcloud and deploy images to vary based on architecture add a "--architecture" option to "openstack overcloud image upload". This option will add hw_architecture to the image meta-data, which will then be used my nova to limit node selection to matching CPU architectures. * Add *undercloud_enable_selinux* configuration to the undercloud.conf. This option is a boolean option to enable or disable SELinux during the undercloud installation. * The commands *openstack tripleo container image prepare* and *openstack overcloud container image upload* now have a --cleanup option to control what local images are removed after the image upload is complete. Deprecation Notes ***************** * --use-heat parameter is deprecated in Rocky cycle and will be removed in the future. When --use-heat / --use-heat=True is set, the undercloud will be containerized and a warning will be shown for the deprecation. When --use-heat=False is set, the undercloud won't be containerized. Security Issues *************** * Undercloud and tripleo standalone deployments support logging into a log file. In "undercloud.conf" the log file path may be defined via *undercloud_log_file*. For the standalone deployments, use the "-- log-file" commmand line argument. By default, undercloud pre-flight/installation/upgrade logs will be written into "install-undercloud.log" in the current dir (wherefrom the client command is executed). Changes in python-tripleoclient 10.2.0..10.3.0 ---------------------------------------------- f6cb7d8 Switch --use-heat to take a boolean and deprecate it 36541c1 Use prefix length for CIDR in DeployedServerPortMap b550095 Add --architecture support when uploading images 8d05757 Always define properties for image even if empty 9db478b Introduce trivial helpers to manage image_files and names fbed580 Add (back) --keep-running 2c623f2 Default --local-domain to localdomain cffe1ad Add --cleanup argument for image uploads 8e74cd7 Fix net_config_override 861a6ae Add --roles to update run CLI command. 3c69e33 Update config docs c692982 Changes Creation Of overcloudrc File to Call Workflow 9f3cbf7 Replace 'raise StopIteration' with 'return' c4701f8 Drop example in config file comments 7df59bc Reduce number of mock in tests 4aa679e Add undercloud_enable_selinux 6443615 Track fake stack updates for standalone/UC deploy 9276f84 Move custom env file to last 5c89daf Remove required releasenote reference 93f7f18 Rename default stack name for standalone 5531e8b Leverage log_file option to capture more UC logs b5e5dd2 Fix undercloud password idempotency 664b4e8 Add users container images file into tarball 8aa0aad Remove validation workflow calls 82d38fd Log the UC deploy/upgrade commands 7236b35 undercloud: deploy tripleo-validations when needed 6a9aa1b Add undercloud admin VIP to insec registries 658abc2 Debug log the raw Zaqar message bb6c48a tripleo deploy add test coverage for non default plan ec38f48 Fix overcloud delete command bfaefda tripleo deploy accept plan environment 560e467 Remove deploy playbook from `update run` d3106db Don't use deprecated exception.message in tripleo_deploy 05af8a7 undercloud: save Rabbit credentials when upgrading a1c01df Add --overcloud-ssh-network 9a0fe3a Show Heat events by default fbe0ea6 Add XClarity in the list of supported hw types Diffstat (except docs and test files) ------------------------------------- .gitignore | 1 + lower-constraints.txt | 1 + .../add-architecture-option-1fca9e53bd59d353.yaml | 7 + ...ble_selinux-configuration-67d2fb994496ef16.yaml | 5 + ...iner-images-file-required-ff11154429796729.yaml | 6 - .../notes/tripleo_logfile-237209469088b8c5.yaml | 11 + .../notes/upload-cleanup-511b915c83db8a82.yaml | 6 + .../notes/use_heat_type-d532fd41490f3b1f.yaml | 8 + test-requirements.txt | 1 + tripleoclient/config/standalone.py | 14 +- tripleoclient/config/undercloud.py | 39 ++- tripleoclient/constants.py | 6 +- tripleoclient/plugin.py | 4 +- .../v1/overcloud_deploy/test_overcloud_deploy.py | 253 ++++------------- .../test_overcloud_ffwd_upgrade.py | 2 +- .../v1/overcloud_image/test_overcloud_image.py | 223 ++++++++++++++- .../v1/overcloud_update/test_overcloud_update.py | 46 +++- .../v1/overcloud_upgrade/test_overcloud_upgrade.py | 2 +- tripleoclient/utils.py | 82 ++++++ tripleoclient/v1/container_image.py | 33 ++- tripleoclient/v1/overcloud_credentials.py | 4 +- tripleoclient/v1/overcloud_delete.py | 7 +- tripleoclient/v1/overcloud_deploy.py | 75 ++--- tripleoclient/v1/overcloud_ffwd_upgrade.py | 2 +- tripleoclient/v1/overcloud_image.py | 51 +++- tripleoclient/v1/overcloud_update.py | 54 ++-- tripleoclient/v1/overcloud_upgrade.py | 2 +- tripleoclient/v1/tripleo_deploy.py | 177 ++++++++++-- tripleoclient/v1/undercloud.py | 88 ++++-- tripleoclient/v1/undercloud_config.py | 119 ++++---- tripleoclient/v1/undercloud_preflight.py | 6 +- tripleoclient/workflows/base.py | 2 +- tripleoclient/workflows/deployment.py | 49 ++-- tripleoclient/workflows/validations.py | 43 --- 42 files changed, 1475 insertions(+), 660 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index cae089c..bebddd3 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -12,0 +13 @@ requests-mock>=1.2.0 # Apache-2.0 +testscenarios>=0.4 # Apache-2.0/BSD