We contentedly announce the release of: metalsmith 0.12.0: Deployment and Scheduling tool for Bare Metal This release is part of the train release series. The source is available from: https://opendev.org/openstack/metalsmith Download the package from: https://tarballs.openstack.org/metalsmith/ Please report issues through: https://storyboard.openstack.org/#!/project/openstack/metalsmith For more details, please see below. 0.12.0 ^^^^^^ New Features ************ * Allows disabling clean up on failure via the new "clean_up_on_failure" argument and "--no-clean-up" flag. * The "reserve_node" call now also accepts "hostname". Upgrade Notes ************* * Bare Metal API version 1.56 (Stein) or newer is now required. Use the 0.11 release series for older versions. * The "resource_class" argument to "reserve_node", as well as the "-- resource-class" CLI argument, are now required. Deprecation Notes ***************** * "InstanceConfig.build_configdrive" is deprecated, use "generate" with openstacksdk's "openstack.baremetal.configdrive.build" instead. Bug Fixes ********* * Fixes stale "instance_info" remaining after deploy failures. * Cleans up "instance_info" before updating it before deployment to make sure not stale information is left there. Changes in metalsmith 0.11.0..0.12.0 ------------------------------------ 4920cc2 Allow disabling clean up on deployment failure 814611f Switch to allocation API instead of reservations via instance_id 0161eff Build configdrives on ironic side 1afa4ac Expose Allocation objects on Instance ce77bf8 Update Sphinx requirements to match global-requirements 3281a67 Replace git.openstack.org URLs with opendev.org URLs fd85c9a OpenDev Migration Patch f69b813 Repare the CI job 9be7472 Accept hostname in reserve_node in addition to provision_node 8e7b8d3 Ensure instance_info is clean before deploy and after failure d64e020 Make resource class required 6d85e21 Update master for stable/stein Diffstat (except docs and test files) ------------------------------------- .gitreview | 2 +- .zuul.yaml | 2 +- README.rst | 5 +- lower-constraints.txt | 2 +- metalsmith/_cmd.py | 11 +- metalsmith/_config.py | 43 ++- metalsmith/_instance.py | 12 +- metalsmith/_provisioner.py | 253 +++++++++---- metalsmith/_scheduler.py | 120 +----- metalsmith/_utils.py | 18 +- metalsmith/test/test_cmd.py | 14 +- metalsmith/test/test_config.py | 7 +- metalsmith/test/test_instance.py | 23 +- metalsmith/test/test_provisioner.py | 401 +++++++++++++++++---- metalsmith/test/test_scheduler.py | 145 +------- playbooks/integration/pre.yaml | 9 +- releasenotes/notes/api-stein-8e5d165aa6d115cf.yaml | 9 + releasenotes/notes/iinfo-2014b1de4dbeca2d.yaml | 7 + .../notes/no-clean-up-03bfaee6bbb112fb.yaml | 5 + .../notes/reserve-hostname-85d02321156bde3b.yaml | 4 + .../notes/resource-class-1957e83fa8235641.yaml | 5 + releasenotes/source/index.rst | 1 + releasenotes/source/stein.rst | 6 + requirements.txt | 2 +- roles/metalsmith_deployment/README.rst | 2 +- setup.cfg | 2 +- tox.ini | 8 +- 28 files changed, 677 insertions(+), 444 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 41abe2d..d7dc353 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5 +5 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -openstacksdk>=0.22.0 # Apache-2.0 +openstacksdk>=0.28.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org