We are jazzed to announce the release of: python-tripleoclient 6.0.0: TripleO client This release is part of the ocata stable release series. Download the package from: https://tarballs.openstack.org/python-tripleoclient/ For more details, please see below. 6.0.0 ^^^^^ 5.8.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. * Adds *overcloud generate fencing* command, which outputs an environment file which can be used to configure node fencing in HA deployments. Currently IPMI and virtual (non-production) deployments are supported. * The "openstack overcloud deploy" and "openstack overcloud plan create" commands now have a "--disable-password-generation" argument, to allow operators to disable password generation and only use passwords provided by them instead. By default, password generation remains enabled. * Add new command "openstack overcloud raid create" for building RAID on given nodes. * Adds the ability for external TripleO validations to be called during a deployment workflow. * Adds the ability for external TripleO validations to be called during an introspection workflow. Upgrade Notes ************* * Some packages previously built into the default overcloud-full image to support vendor integration have been removed due to difficulties related to CI stability. To add these packages for the vendor support you require you can either build a custom image containing the packages (see http://docs.openstack.org/developer/tripleo- docs/basic_deployment/basic_deployment_cli.html#get-images) or you can use virt-customize (http://libguestfs.org/virt-customize.1.html) to install the required extra packages in a pre-built overcloud-full image. * Command "openstack baremetal show capabilities" has been broken for some time due to conflict with "openstack baremetal show" from Ironic. This command was removed. Deprecation Notes ***************** * The "openstack baremetal import", "openstack baremetal introspect bulk start" and "openstack baremetal configure" are now deprecated in favour of "openstack overcloud node import", "openstack overcloud node introspect" and "openstack overcloud node configure" respectively. See bug 1649541. 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 1657461 so the overcloud stack is actually deleted. This calls the newly created stack delete workflow. * Fixes bug 1614928 Moves the package update command to use a workflow. Other Notes *********** * Remove the keystone_pki cert generation, which is not needed anymore. Changes in python-tripleoclient 5.7.0..6.0.0 -------------------------------------------- 553e46e Add support for calling validations from introspection 26daeb0 Release note for disabling password generation eb4686c Add overcloud_parameters.GenerateFencingParameters. d6a2db9 Migrate overcloud delete to full workflow f242260 Add support for calling validations from deployment 5c19252 Add release notes for my changes in Ocata 7a31915 Migrate overcloud update to a mistral workflow ecd6ea0 Updated from global requirements 6dcfef8 Remove vendor plugins from image build a3f687c Create command for building RAID on given nodes 26b3ac7 Provide an option to disable password generation on deployment 2fad36f Remove redundant 'the' a2c1d16 Replace yaml.load() with yaml.safe_load() fd39f94 Release note for deprecated baremetal commands b8482b6 Release notes for 5.8.0 (final Ocata) 9c4b435 Updated from global requirements 78d4688 Switch undercloud upgrade to use upgrade script b272a5c Deprecate legacy 'baremetal' commands 3b2afd9 Add --disable-validations 0509d02 Add new hiera agent hook to legacy image build f9e006a Updated from global requirements 07b7449 Simplify Fetching the passwords from Mistral 8056175 Add Constraints support c019366 Remove the unused delete image function f868ccd Remove two unused Exception subclasses c79113b Remove the unused constant RESOURCE_REGISTRY_NAME 867a65b Remove the unused get_config_value function 276d713 Remove dead mocks and dead code 7a76888 Remove the keystone_pki cert generation from tripleoclient 3c8223c Use the overcloudrc generated in a Mistral action bc1ac19 Return proper exit code on plan deletion failure 1082fdb Fix plan delete f0d9ed0 Default image build to use yaml files efc6939 Delete deprecated Hacking in tox.ini 4b775db Remove separate call to provide workflow 2aae251 Fix the author and author-email in setup.cfg file 622b65e Update .coveragerc after the removal of respective directory Diffstat (except docs and test files) ------------------------------------- .coveragerc | 2 +- releasenotes/notes/5.8.0-9f2df7e7dfcfbc42.yaml | 34 ++ ...cing-parameter-generation-c0ae21e0fee4f350.yaml | 6 + ...recate-baremetal-commands-d24279b6a7cf97d6.yaml | 8 + ...sable-password-generation-84a8be5686a8cf2e.yaml | 7 + .../image-vendor-packages-a0d667e0c7aa1bbd.yaml | 10 + .../notes/overcloud-delete-59fea2cd43cc9dd5.yaml | 6 + .../notes/show-capabilities-29e4b6ebf6029ced.yaml | 6 + .../notes/simple-raid-f293d2efec3afe1c.yaml | 5 + .../notes/update-in-workflow-f2f88e8daf0533d4.yaml | 5 + ...alidation-from-deployment-97536649daa282d7.yaml | 4 + ...dation-from-introspection-a2c3c3b5bbe0c2fe.yaml | 4 + requirements.txt | 2 +- setup.cfg | 8 +- test-requirements.txt | 2 +- tools/tox_install.sh | 30 ++ tox.ini | 7 +- tripleoclient/constants.py | 1 - tripleoclient/exceptions.py | 8 - .../v1/overcloud_delete/test_overcloud_delete.py | 23 +- .../v1/overcloud_deploy/test_overcloud_deploy.py | 347 +++++++-------------- .../v1/overcloud_image/test_overcloud_image.py | 46 ++- .../v1/overcloud_update/test_overcloud_update.py | 48 ++- tripleoclient/utils.py | 138 +------- tripleoclient/v1/baremetal.py | 54 ++-- tripleoclient/v1/overcloud_delete.py | 26 +- tripleoclient/v1/overcloud_deploy.py | 137 +++++--- tripleoclient/v1/overcloud_image.py | 27 +- tripleoclient/v1/overcloud_netenv_validate.py | 4 +- tripleoclient/v1/overcloud_node.py | 18 +- tripleoclient/v1/overcloud_parameters.py | 77 +++++ tripleoclient/v1/overcloud_plan.py | 29 +- tripleoclient/v1/overcloud_raid.py | 79 +++++ tripleoclient/v1/overcloud_update.py | 104 ++++-- tripleoclient/v1/undercloud.py | 2 +- tripleoclient/workflows/baremetal.py | 32 +- tripleoclient/workflows/deployment.py | 8 +- tripleoclient/workflows/package_update.py | 95 ++++++ tripleoclient/workflows/plan_management.py | 12 +- tripleoclient/workflows/stack_management.py | 49 +++ 53 files changed, 1290 insertions(+), 765 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 5e33210..a003a41 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11 +11 @@ python-heatclient>=1.6.1 # Apache-2.0 -python-ironicclient>=1.6.0 # Apache-2.0 +python-ironicclient>=1.10.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 599bdad..f4b6fff 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7 +7 @@ coverage>=4.0 # Apache-2.0 -docutils>=0.11,!=0.13.1 # OSI-Approved Open Source, Public Domain +docutils!=0.13.1,>=0.11 # OSI-Approved Open Source, Public Domain