Train (0.12.0 - 0.15.x) Series Release Notes

0.14.0

New Features

  • The metalsmith CLI now uses table format similar to OpenStack CLI.

  • The metalsmith CLI now supports the same -f, -c and --sort-column arguments as other OpenStack CLI.

Upgrade Notes

  • The deprecated class InstanceConfig has been removed.

  • The deprecated instance configuration method build_configdrive has been removed.

  • Changes to consistently using exceptions from metalsmith.exceptions rathen than exposing OpenStackSDK exceptions.

Deprecation Notes

  • The exception InvalidInstance has been renamed to InstanceNotFound.

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.

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.