metalsmith 0.9.0 (stein)
We are delighted to announce the release of:
metalsmith 0.9.0: Deployment and Scheduling tool for Bare Metal
This release is part of the stein release series.
The source is available from:
https://git.openstack.org/cgit/openstack/metalsmith
Download the package from:
https://tarballs.openstack.org/metalsmith/
Please report issues through launchpad:
https://storyboard.openstack.org/#!/project/openstack/metalsmith
For more details, please see below.
0.9.0 ^^^^^
New Features ************
* Adds new function "metalsmith.sources.detect" to automate detection of various sources from their location, kernel, image and checksum.
* Allows specifying a subnet for the "nics" argument of the "provision_node" call as "{"subnet": "<name or ID>"}".
* Adds a new CLI argument "--subnet" to create a port on the given subnet.
Upgrade Notes *************
* The deprecated "root_disk_size" argument has been removed, use "root_size_gb" instead.
* openstacksdk (https://docs.openstack.org/openstacksdk/) is now used for bare metal operation. The "Node" objects returned from various calls are now openstacksdk Node objects (https://docs.openstack.org /openstacksdk/latest/user/resources/baremetal/v1/node.html#openstac k.baremetal.v1.node.Node) instead of ones from **python- ironicclient**.
* The **genisoimage** utility is now required for building configdrives.
Deprecation Notes *****************
* Not providing "resource_class" to the "reserve_node" call is now deprecated. This is not compatible with the in-progress bare metal allocation API.
Other Notes ***********
* The dependency on **python-ironicclient** has been removed.
Changes in metalsmith 0.8.0..0.9.0 ----------------------------------
47e9e93 Support specifying a subnet for NIC 8263ca2 Add sources.detect to detect various source types 855544b Raise an SDKException/Error on duplicate hostnames 2d06d1c Add missing release notes for 0.9.0 changes eee74d3 Completely switch to openstacksdk 6de505b Always use the latest cirros image e8796b2 Change openstack-dev to openstack-discuss 928dfaf Remove deprecated root_disk_size b9cdef8 Deprecate not providing resource_class (again) cea2cda Use the Connection.baremetal adapter for ironicclient Session 7b86d4c use include_tasks instead of include
Diffstat (except docs and test files) -------------------------------------
lower-constraints.txt | 56 +- metalsmith/_cmd.py | 63 +- metalsmith/_config.py | 71 +- metalsmith/_format.py | 4 +- metalsmith/_instance.py | 22 +- metalsmith/_nics.py | 79 +- metalsmith/_os_api.py | 182 --- metalsmith/_provisioner.py | 267 ++-- metalsmith/_scheduler.py | 37 +- metalsmith/_utils.py | 80 +- metalsmith/sources.py | 105 +- metalsmith/test/test_cmd.py | 25 +- metalsmith/test/test_config.py | 35 +- metalsmith/test/test_instance.py | 14 +- metalsmith/test/test_os_api.py | 129 -- metalsmith/test/test_provisioner.py | 1562 +++++++++----------- metalsmith/test/test_scheduler.py | 78 +- metalsmith/test/test_sources.py | 126 ++ metalsmith/test/test_utils.py | 73 + playbooks/integration/cirros-image.yaml | 16 +- playbooks/integration/exercise.yaml | 8 +- playbooks/integration/run.yaml | 8 +- .../notes/0.9-deprecations-f403ce4961b77fe1.yaml | 10 + .../notes/openstacksdk-9ad2298b84e34a5f.yaml | 13 + .../notes/source-detect-673ad8c3e98c3df1.yaml | 5 + releasenotes/notes/subnet-1c177e4b40cc607c.yaml | 7 + requirements.txt | 3 +- roles/metalsmith_deployment/README.rst | 8 + setup.cfg | 2 +- 29 files changed, 1486 insertions(+), 1602 deletions(-)
Requirements updates --------------------
diff --git a/requirements.txt b/requirements.txt index 1ba9a9a..eced6b3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,2 +5 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -openstacksdk>=0.11.0 # Apache-2.0 -python-ironicclient>=1.14.0 # Apache-2.0 +openstacksdk>=0.22.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org