We are excited to announce the release of: python-tripleoclient 5.5.0: TripleO client This release is part of the ocata release series. Download the package from: https://tarballs.openstack.org/python-tripleoclient/ For more details, please see below. Changes in python-tripleoclient 5.0.0..5.5.0 -------------------------------------------- 2cc4eef Format the nodes list in openstack overcloud delete node f41895e Enable creating images with Glance v2 6581755 Updated from global requirements 0af6646 Default the stack name to 'overcloud' in overcloud node delete fb6f500 Reset the parameter_defaults between deployments via the CLI 000e255 Change wording of help for --update-plan-only 06f7b3a Mock yaml.safe_load safely aac64ef Switch overcloud build images to use ImageBuildManager 0c97318 Change the qemu-img bindep to be qemu-img-ev 4f5be2b Don't assume CountDefault set in roles_data.yaml 5af714c Use correct region value 6e552f6 Fix handling of missing environment files dc138a6 Pass clients to get the get_password function d638745 Updated from global requirements 11e1c3c Do not try to "provide" updated nodes not in "manageable" state d1bd56a Fix nodes count check on stack-update with custom roles 127ceb6 Enable releasenotes translation 5c53f23 Add a flag to allow the plan to be updated without deploying f32600b Updated from global requirements a5c9dd4 Remove osc boilerplate from the readme a85ad62 Use workflow for overcloud node delete 1969ccf Use Password Generation provided by the Mistral workflows 71ebf2a Allow overriding CLI parameter defaults with env files bb72623 Save the result of direct action calls in Mistral c7a1b84 Downloads templates from swift before processing update 435a500 Remove heat_stack_user from the deployer input 73f30b7 Fix get_file in out-of-tree templates 02156cc Add the workflow name to the starting workflow message e64ca0b Add ReNo support 4abd0cd Allow referencing rendered yaml files in resource_registry c683483 Download templates from swift before processing with heatclient a004f68 Updated from global requirements a3f7a78 Remove auth_required=False from upload image command ee42734 Open python-tripleoclient for Ocata a622160 Add optional overcloud deploy roles_data.yaml override 12f3284 Remove another openstackclient import 39dad31 Fix typo: remove redundant 'the' 19e4b1e Add an overcloud rc.v3 file 04f9600 Clear the old environment in rc file 5c7c32a Deprecate a number of CLI args that map directly to Heat params 40c3b92 Using assertIsNone() instead of assertEqual(None) e04dcd2 Add ssl development headers to bindep 13620fc Keystone credentials needs to be set with the overcloud password fe28e43 Stop plan creation when container exists 8b0501c Remove the get_hiera_key function f029263 Change the level of mocking for the wait_for_stack_ready test 4f9e959 Stop logging swiftclient errors 5a90d6b Do not use selinux-permissive for the CentOS image d021bd5 Updated from global requirements 54d814d Use the passed in workflow when creating or updating a plan fc94802 Remove the reference to overcloud-without-mergepy file 841082f Update the Mistral action names 0ab4114 Always use absolute path for tht_root c86f4ca Use a released version of tripleo-common ae8c7a8 Revert "Upgrades: Add 'stack upgrade' command" d280c19 Revert "Upgrades: Add finish stage to 'overcloud upgrade'" a4efa9c Revert "Upgrades: Add initialization stage to 'overcloud upgrade'" 0573b60 Provide more information when 'node provide' fails 86e184e Remove openstackclient imports in the new parameters command a7b2e5e Remove the environments from Mistral when removing from Swift 14191e3 Print the execution ID when starting Mistral workflows c689fc0 Pass the timeout to the deploy workflow 92587b9 Updated from global requirements 6be0142 Remove one last reference to openstackclient.tests d1866ed Add `openstack overcloud plan deploy` 5ecf56c Use the hexdigest of the path to make the filename unique in swift 133e8cf Migrate to using osc-lib ffeb2b1 Add missing unit tests for the 'configure' workflows ee320c5 Remove the rest of a removed path c933998 Do not include epel element when building overcloud images 12932b0 Display error message when socket is closed cfaab14 Tripleoclient leaks temporary files 7923128 Re-enable keystone init deprecation message 2898e75 Get template contents from plan, not local path 943f550 Update plan files when re-deploying d490fd2 Ignore the .eggs directory 5f0694a Generate Keystone credentials for overcloud f1efe9d Add libffi-dev to bindep.txt b0f8708 Replace agent elements with package python-heat-agent-puppet 824620c Remove excessive output when configuring nodes 252f43e Use heatclient poll_for_events in wait_for_stack_ready cbd9f74 Add `overcloud parameters set` to set Heat params in a plan c03ed23 Update the 'overcloud deploy --templates' command to use Mistral 2c0fecf Add 'openstack overcloud plan create' command 3ef0a4b NTP arg should be optional when specified in an environment 7f832fb Throw an error/exception when interactive overcloud update fails Diffstat (except docs and test files) ------------------------------------- .gitignore | 6 +- README.rst | 58 +- bindep.txt | 9 + other-requirements.txt | 5 - releasenotes/source/_static/.placeholder | 0 releasenotes/source/conf.py | 265 +++++++ releasenotes/source/index.rst | 18 + releasenotes/source/unreleased.rst | 5 + requirements.txt | 12 +- setup.cfg | 4 +- test-requirements.txt | 10 +- tools/releasenotes_tox.sh | 28 + tox.ini | 5 +- tripleoclient/__init__.py | 3 +- tripleoclient/constants.py | 29 +- tripleoclient/exceptions.py | 4 + tripleoclient/plugin.py | 41 +- .../v1/overcloud_deploy/test_overcloud_deploy.py | 864 ++++++++++++++++----- .../test_overcloud_deploy_validators.py | 2 +- .../v1/overcloud_image/test_overcloud_image.py | 146 +++- .../v1/overcloud_update/test_overcloud_update.py | 63 +- .../v1/overcloud_upgrade/test_overcloud_upgrade.py | 156 ---- tripleoclient/utils.py | 386 ++++----- tripleoclient/v1/baremetal.py | 17 +- tripleoclient/v1/overcloud_deploy.py | 582 +++++++++----- tripleoclient/v1/overcloud_execute.py | 2 +- tripleoclient/v1/overcloud_image.py | 254 ++++-- tripleoclient/v1/overcloud_netenv_validate.py | 4 +- tripleoclient/v1/overcloud_node.py | 39 +- tripleoclient/v1/overcloud_parameters.py | 64 ++ tripleoclient/v1/overcloud_plan.py | 77 +- tripleoclient/v1/overcloud_profiles.py | 7 +- tripleoclient/v1/overcloud_update.py | 56 +- tripleoclient/v1/overcloud_upgrade.py | 102 --- tripleoclient/v1/undercloud.py | 2 +- tripleoclient/workflows/baremetal.py | 58 +- tripleoclient/workflows/base.py | 36 + tripleoclient/workflows/deployment.py | 82 ++ tripleoclient/workflows/parameters.py | 47 ++ tripleoclient/workflows/plan_management.py | 150 ++++ tripleoclient/workflows/scale.py | 58 ++ tripleoclient/workflows/templates.py | 17 + 60 files changed, 3468 insertions(+), 1396 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 8923978..3ac8274 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4 +4 @@ -pbr>=1.6 # Apache-2.0 +pbr>=1.8 # Apache-2.0 @@ -7 +6,0 @@ Babel>=2.3.4 # BSD -cliff!=1.16.0,!=1.17.0,>=1.15.0 # Apache-2.0 @@ -11 +10 @@ python-ironic-inspector-client>=1.5.0 # Apache-2.0 -python-heatclient>=1.1.0 # Apache-2.0 +python-heatclient>=1.5.0 # Apache-2.0 @@ -14 +13 @@ python-mistralclient>=2.0.0 # Apache-2.0 -python-openstackclient>=2.1.0 # Apache-2.0 +python-openstackclient>=3.3.0 # Apache-2.0 @@ -16,0 +16 @@ os-cloud-config # Apache-2.0 +osc-lib>=1.2.0 # Apache-2.0 @@ -18,3 +18 @@ websocket-client>=0.32.0 # LGPLv2+ - -# tripleo-common lib is not yet on PyPi --e git://github.com/openstack/tripleo-common.git#egg=tripleo_common +tripleo-common>=5.0.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 984b41e..c03ae21 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6 +6 @@ hacking<0.11,>=0.10.2 -coverage>=3.6 # Apache-2.0 +coverage>=4.0 # Apache-2.0 @@ -9,2 +9,2 @@ mock>=2.0 # BSD -oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 -sphinx!=1.3b1,<1.3,>=1.2.1 # BSD +oslosphinx>=4.7.0 # Apache-2.0 +sphinx!=1.3b1,<1.4,>=1.2.1 # BSD @@ -12,0 +13,4 @@ testtools>=1.4.0 # MIT +requests-mock>=1.1 # Apache-2.0 + +# releasenotes +reno>=1.8.0 # Apache-2.0