We are pleased to announce the release of: metalsmith 0.13.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.13.0 ^^^^^^ New Features ************ * It is now possible to provide custom "user_data" into instance configuration. Upgrade Notes ************* * An allocation name is now used for hostname instead of a custom "extra" field. Previously deployed instances will no longer be recognized, use the allocation backfilling to make them recognized again. * The "InstanceConfig" class has been split into "GenericConfig" and "CloudInitConfig" for clarity on which features come from what. * The deprecated "delay" argument to the "wait_for_provisioning" call has been removed. * Instance states (members of the "InstanceState" enumeration) can no longer be compared to strings. This was deprecated in the Stein release. Deprecation Notes ***************** * The exception classes "DeploymentFailure", "TraitsNotFound" and "NoNodesReserved" are deprecated and no longer used after transitioning to the allocation API. * The "metalsmith.InstanceConfig" class is deprecated, use "GenericConfig" or "CloudInitConfig" from the new module "metalsmith.instance_config". Changes in metalsmith 0.12.0..0.13.0 ------------------------------------ e9c25b0 Use allocation name for hostname instead of a custom field 349e507 Split InstanceConfig into GenericConfig and CloudInitConfig 0e7fa76 Remove features deprecated in Stein Diffstat (except docs and test files) ------------------------------------- lower-constraints.txt | 2 +- metalsmith/__init__.py | 2 +- metalsmith/_cmd.py | 6 +- metalsmith/_instance.py | 20 +- metalsmith/_provisioner.py | 263 +++++++---- metalsmith/_utils.py | 82 +--- metalsmith/exceptions.py | 15 +- metalsmith/{_config.py => instance_config.py} | 133 ++++-- metalsmith/test/test_cmd.py | 8 +- metalsmith/test/test_instance.py | 10 +- .../{test_config.py => test_instance_config.py} | 86 +++- metalsmith/test/test_provisioner.py | 521 ++++++++++++++++----- metalsmith/test/test_utils.py | 73 --- .../allocation-hostname-f148e8adf0aee89a.yaml | 11 + .../notes/instance-config-c4ea6a169f782138.yaml | 14 + .../notes/stein-deprecation-6a4c9217a6ac4f13.yaml | 8 + requirements.txt | 2 +- 17 files changed, 792 insertions(+), 464 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index d7dc353..e62de22 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5 +5 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -openstacksdk>=0.28.0 # Apache-2.0 +openstacksdk>=0.29.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org