We are amped to announce the release of: python-tripleoclient 13.3.0: TripleO client This release is part of the ussuri 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. 13.3.0 ^^^^^^ New Features ************ * The *overcloud delete* subcommand now supports cleaning up overcloud hosts, services, and DNS entries in FreeIPA. This is applicable to deployments with TLS support enabled since FreeIPA serves DNS and manages certificates for overcloud infrastructure. This subcommand also includes a new option called "--skip-ipa- cleanup" that allows the caller to forego cleaning up FreeIPA. This may be useful when deployers want to forcibly cleanup overcloud stacks and leave FreeIPA entries intact (e.g., network partition events where the FreeIPA server isn't reachable). Note that you will need to manually cleanup FreeIPA if you use "--skip-ipa-cleanup". Upgrade Notes ************* * "openstack overcloud failures" command used to get ansible errors with mistral api has been removed as part of removal of mistral service from undercloud. * "openstack overcloud remote execute" command has been removed. It depended on os-collect-config service on the overcloud nodes, that had been disabled by default since rocky. Please use ansible playbooks to make necessary configuration changes in place of this command. * The *undercloud.conf* file is now strictly parsed. If there are detected issues within the *undercloud.conf* configuration file operations will halt, producing an error and highlighting how to resolve the issue. Bug Fixes ********* * The undercloud install now configures ironic inspector to automatically populate the physical_network field on baremetal provisioning ports. See bug 1870529 (https://launchpad.net/bugs/1870529). * The *undercloud.conf* file is now strictly parsed which ensures a clean configuration when deploying the undercloud. Changes in python-tripleoclient 13.2.0..13.3.0 ---------------------------------------------- 4e5328b1 Bump hacking min version to 3.0.1 3ea7041b Ensure the ansible.cfg file presists 6a6b7526 Ensure playbook execution respects CLI ENV vars cd894078 Remove left over print d828ef2c ignore basepython conflict in tox fa6a2937 Fix some pep8 errors 701c146b Remove unused write_overcloudrc() function c0b0a5aa Fix upgrade prompt 51b0cc4c New command "overcloud node extract provisioned" 6268bdea Use ansible playbook for creating overcloudrc fa3df6a0 Fix stack create verbosity 244f14c0 Add call to cleanup_ipa.yml playbook when doing a stack delete 329cad57 Add stack_name support to ANSIBLE_INVENTORY c8cd7145 Don't override default verbose_level 41d88961 Remove workflow_engine from client setup 9cd91775 Inspector set baremetal port physical_network 191438f7 Don't use mistral directory as WORK_DIR for config-download 93952566 Add release note for undercloud.conf parsing 7d1b7389 Use undercloud upgrade to update all required pkgs 67c49244 Expose --limit, --skip-tags, and --tags on the CLI. 7cef22cc Remove openstack overcloud failures command c08c5c2b Add login flag to container image prepare defaults d85997c2 Remove redundant loading of file to read extra_vars 025b88aa Simplify setting deployment status 9a6b7fa6 Set correct deployment_status in deployment stages a947b570 Add the ability to load vars from files 3ac5df3f Add releasenote for removal of overcloud remote execute command 561bf0db Fix ResourceWarning: unclosed file 655e0178 Cleanup py27 support c3fedab8 Normalize how we pull the users home folders 2cb16d3e Move ansible hosts file as a constant 54494d23 Only show sudo hints when relevant 41b51731 Raise a new ValueError with the contents of the JSON is parsing fails 6aaeaf00 trivial: add spaces after punctuation in config help text Diffstat (except docs and test files) ------------------------------------- lower-constraints.txt | 2 - ...eanup-to-overcloud-delete-bf803bc67a4b38c2.yaml | 12 ++ .../port-physnet-cidr-map-463a1639aba45832.yaml | 6 + ...remove-overcloud-failures-90e18749b7b8c960.yaml | 6 + ...-overcloud-remote-execute-c04b4f3aecddaf1c.yaml | 8 + .../strict-config-parsing-ded8d4994c8ea363.yaml | 9 ++ requirements.txt | 5 +- setup.cfg | 8 +- setup.py | 9 -- test-requirements.txt | 2 +- tox.ini | 5 + tripleoclient/config/standalone.py | 6 +- tripleoclient/constants.py | 21 ++- tripleoclient/export.py | 3 +- tripleoclient/heat_launcher.py | 2 +- tripleoclient/plugin.py | 7 +- .../v1/overcloud_deploy/test_overcloud_deploy.py | 155 ++++---------------- .../test_overcloud_ffwd_upgrade.py | 22 ++- .../test_overcloud_netenv_validate.py | 18 +-- .../v1/overcloud_upgrade/test_overcloud_upgrade.py | 11 +- .../v2/overcloud_delete/test_overcloud_delete.py | 27 +++- .../v2/overcloud_support/test_overcloud_support.py | 24 +++ tripleoclient/utils.py | 163 ++++++++++++--------- tripleoclient/v1/container_image.py | 36 ++++- tripleoclient/v1/overcloud_config.py | 6 +- tripleoclient/v1/overcloud_credentials.py | 10 +- tripleoclient/v1/overcloud_deploy.py | 108 ++++++-------- tripleoclient/v1/overcloud_export.py | 5 +- tripleoclient/v1/overcloud_external_update.py | 14 +- tripleoclient/v1/overcloud_external_upgrade.py | 13 +- tripleoclient/v1/overcloud_ffwd_upgrade.py | 4 +- tripleoclient/v1/overcloud_node.py | 86 +++++++++++ tripleoclient/v1/overcloud_parameters.py | 4 +- tripleoclient/v1/overcloud_update.py | 35 +++-- tripleoclient/v1/overcloud_upgrade.py | 22 +-- tripleoclient/v1/tripleo_deploy.py | 21 --- tripleoclient/v1/tripleo_upgrade.py | 7 + tripleoclient/v1/undercloud.py | 108 ++++++++++---- tripleoclient/v1/undercloud_config.py | 14 ++ tripleoclient/v1/undercloud_preflight.py | 3 +- tripleoclient/v2/overcloud_delete.py | 23 ++- tripleoclient/v2/overcloud_support.py | 7 +- tripleoclient/workflows/deployment.py | 143 +++++++++--------- tripleoclient/workflows/scale.py | 7 +- 57 files changed, 1065 insertions(+), 640 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 01a7d678..b252e10f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7 +6,0 @@ Babel!=2.4.0,>=2.3.4 # BSD -ipaddress>=1.0.17;python_version<'3.3' # PSF @@ -12,2 +11 @@ python-heatclient>=1.10.0 # Apache-2.0 -python-ironicclient!=2.5.2,!=2.7.1,!=3.0.0,>=2.3.0,<4.0.0;python_version=='2.7' # Apache-2.0 -python-ironicclient!=2.5.2,!=2.7.1,!=3.0.0,>=2.3.0;python_version>='3.6' # Apache-2.0 +python-ironicclient!=2.5.2,!=2.7.1,!=3.0.0,>=2.3.0 # Apache-2.0 @@ -22 +19,0 @@ cryptography>=2.1 # BSD/Apache-2.0 -futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD diff --git a/test-requirements.txt b/test-requirements.txt index 4c821db0..74bc779b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4 +4 @@ -hacking>=1.1.0,<1.2.0 # Apache-2.0 +hacking>=3.0.1,<3.1.0 # Apache-2.0