We are amped to announce the release of: python-tripleoclient 7.0.0: TripleO client This release is part of the pike release series. Download the package from: https://tarballs.openstack.org/python-tripleoclient/ For more details, please see below. 7.0.0 ^^^^^ 6.0.0 is the final release for Ocata. It's the first release where release notes are added. New Features ************ * Use the overcloudrc generated in a Mistral action so both CLI and UI can use the same file when interacting with the deployed OpenStack. * Default image build to use yaml files. If no args are given to the overcloud image build, it will default to using the CentOS yaml files in /usr/share/openstack-tripleo-common/image-yaml. * Simplify fetching the passwords from Mistral. * Add --disable-validations argument that will disable the run of validations completely. This feature is useful when we deploy TripleO with multinode and deployed-server features. * A new command, "openstack overcloud credentials" has been added to create the overcloudrc and overcloudrc.v3 files for your deployment. This is particularly useful if the deploy is started from the GUI. Known Issues ************ * Fixed an issue with the permissions of the overcloudrc.v3 file. The chmod call was not being used on it correctly. Bug Fixes ********* * Fixes bug 1649588 so exceptions are not swallowed anymore which was leading to 0 exit code. Now, it returns a proper exit code when plan deletion fails. * Add new hiera agent hook to legacy image build. The change Ia1864933235152b7e899c4442534879f8e22240d added these to the newer overcloud-images.yaml method of building images. Unfortunately because the old 'openstack overcloud image build --all' method does not leverage this file yet, it leads to a timeout in deployment because the heat agents are not available. It fixes bug 1651616. * Fixes bug 1637474 so we manage --initial-state flag for register_or_update. * Fixes bug 1648861 so that if the plan creation fails, the Swift container isn't created. * The *overcloud generate fencing* command no longer carries a default value for the *action* parameter. Advice from upstream Pacemaker is that this value should no longer be passed to fencing agents as it may cause inconsistent behaviour. The parameter remains, but is now optional, and its use is discouraged. * Removed setting NeutronDhcpAgentsPerNetwork based on controller count. If not overridden by the user, it should be calculated based on the number of neutron DHCP agents that are actually deployed. * *overcloud deploy* correctly returns an error code when failing during the pre-deployment verifications (before the stack is launched) (bug 1672790). Other Notes *********** * Remove the keystone_pki cert generation, which is not needed anymore. * Remove all usage of os-cloud-config. Indeed, os-cloud-config has been deprecated in Ocata and is not useful anymore from tripleoclient. Let's stop using it and remove all the code that used it, including the tests. Changes in python-tripleoclient 6.0.0..7.0.0 -------------------------------------------- 27d43ff Updated from global requirements 7099813 Remove the single-message interface to websockets 4da6ecd Add a new command to get the overcloudrc files aa59391 Support multiple messages from deploy_plan 7378a38 Support multiple messages from package_update 0f2b860 Support multiple messages from delete_stack 9bbc6c6 Support multiple messages from create_raid_configuration 67b4beb Support multiple messages from configure_manageable_nodes 6d39eb5 Support multiple messages from configure workflow 165c0a0 Support multiple messages from provide_manageable_nodes 363ff16 Support multiple messages from introspect manageable 91634d8 Validate NtpServers during plan processing ab98502 Add breakpoint cleanup env during plan processing f71fc36 Support multiple messages from introspect workflow 17f20bd Support multiple messages from provide workflow fcf8c4d Support multiple messages from delete_node ad0aae9 Support multiple messages from create/update_deployment_plan b93b7e9 Support multiple messages from get_passwords 57685a3 Stop using os-cloud-config 398f954 Ignore os-cloud-config deprecation warning f7c032f Revert "Use a Zaqar queue to get stack events" 040e997 Move clients into class constructor 04e2ea0 Don't track added_files in deploy environment processing 1eb71a3 Make fencing action parameter optional. fd8817d Support multiple messages from create_default_plan 2805161 Fix return code when failing before launching the stack 3b9c2a4 Support multiple messages from register_or_update 0747748 Handle multiple messages from workflow executions efedf4b New command "overcloud container image upload" 55ddf0a Don't rely on umask to set appropriate permissions on overcloudrc* f4f0e92 Use a Zaqar queue to get stack events 9e670a1 Mark 'undercloud deploy' as experimental 9bfd6c2 Use tmp env path when rewriting absolute resource paths ff6306f Updated from global requirements 2d6218d undercloud deploy, delete heat containers fd760f4 Update to a newer hacking library f90b59d Updated from global requirements 1051880 Remove calculation for NeutronDhcpAgentsPerNetwork de398c6 Don't create swift container if plan creation fails 067590b Show stack failures on error a137b49 Pass empty stack_fields to update manager 5f58088 Deploy the undercloud with Heat 81c403a Fix fencing action parameter name. 7dc8f3f Mock os.path.isfile correctly 0f4de92 Updated from global requirements 339782e Fix stack delete client 7a8cad1 Add fake_keystone class b999d83 Add heat_launcher module to help launch heat-all 44b94eb Fixed overcloud stack update workflow name error 2d1ae9d Mock time.sleep in unit tests 17b5d6c Make overcloud image upload honor --image-path f03583a Remove link to modindex 80ab9dc Fix release name in release note prelude bfdb033 Add Ocata release notes from branch a9c9885 Remove documentation for removed neutron command line options Diffstat (except docs and test files) ------------------------------------- releasenotes/notes/5.8.0-9f2df7e7dfcfbc42.yaml | 5 +- ...-fencing-action-parameter-8321d25a23d8ef99.yaml | 8 + .../notes/os-cloud-config-b2acae54b4f0baf2.yaml | 7 + ...cloud-credentials-command-f9e8d7439fee02d5.yaml | 10 + ...n-dhcp-agents-per-network-1f34e5deeba71cda.yaml | 6 + ...code-on-predeploy-failure-bd62025646e25433.yaml | 7 + releasenotes/source/index.rst | 1 + releasenotes/source/ocata.rst | 6 + requirements.txt | 9 +- setup.cfg | 3 + setup.py | 2 +- test-requirements.txt | 6 +- tripleoclient/fake_keystone.py | 224 ++++++++++ tripleoclient/heat_launcher.py | 177 ++++++++ tripleoclient/noauth_policy.json | 93 ++++ tripleoclient/plugin.py | 44 +- .../v1/overcloud_delete/test_overcloud_delete.py | 2 +- .../v1/overcloud_deploy/test_overcloud_deploy.py | 159 ++----- .../test_overcloud_deploy_validators.py | 3 +- .../v1/overcloud_image/test_container_image.py | 60 +++ .../v1/overcloud_image/test_overcloud_image.py | 63 ++- tripleoclient/utils.py | 2 + tripleoclient/v1/container_image.py | 47 ++ tripleoclient/v1/overcloud_credentials.py | 43 ++ tripleoclient/v1/overcloud_delete.py | 2 +- tripleoclient/v1/overcloud_deploy.py | 265 +++-------- tripleoclient/v1/overcloud_image.py | 30 +- tripleoclient/v1/overcloud_parameters.py | 6 +- tripleoclient/v1/overcloud_update.py | 9 +- tripleoclient/v1/undercloud_deploy.py | 482 +++++++++++++++++++++ tripleoclient/workflows/baremetal.py | 36 +- tripleoclient/workflows/base.py | 20 +- tripleoclient/workflows/deployment.py | 7 +- tripleoclient/workflows/package_update.py | 27 +- tripleoclient/workflows/parameters.py | 6 +- tripleoclient/workflows/plan_management.py | 30 +- tripleoclient/workflows/scale.py | 7 +- tripleoclient/workflows/stack_management.py | 6 +- 53 files changed, 1862 insertions(+), 612 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index a003a41..9e219c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4 +4 @@ -pbr>=1.8 # Apache-2.0 +pbr>=2.0.0 # Apache-2.0 @@ -6 +6 @@ pbr>=1.8 # Apache-2.0 -Babel>=2.3.4 # BSD +Babel!=2.4.0,>=2.3.4 # BSD @@ -11 +11 @@ python-heatclient>=1.6.1 # Apache-2.0 -python-ironicclient>=1.10.0 # Apache-2.0 +python-ironicclient>=1.11.0 # Apache-2.0 @@ -15 +14,0 @@ six>=1.9.0 # MIT -os-cloud-config # Apache-2.0 @@ -18 +17 @@ websocket-client>=0.32.0 # LGPLv2+ -tripleo-common>=5.0.0 # Apache-2.0 +tripleo-common>=5.7.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index f4b6fff..85ff31d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4 +4 @@ -hacking<0.11,>=0.10.2 +hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 @@ -7 +7 @@ coverage>=4.0 # Apache-2.0 -docutils!=0.13.1,>=0.11 # OSI-Approved Open Source, Public Domain +docutils>=0.11 # OSI-Approved Open Source, Public Domain @@ -11 +11 @@ oslosphinx>=4.7.0 # Apache-2.0 -sphinx!=1.3b1,<1.4,>=1.2.1 # BSD +sphinx>=1.5.1 # BSD