v27.0.0 Release Notes

27.0.0 Release Notes

27.0.0

Prelude

Tempest.scenario.manager is now a stable interface for Tempest plugins.

This release is to tag Tempest for OpenStack Wallaby release. This release marks the start of Wallaby release support in Tempest. After this release, Tempest will support below OpenStack Releases:

  • Wallaby

  • Victoria

  • Ussuri

  • Train

Current development of Tempest is for OpenStack Xena development cycle. Every Tempest commit is also tested against master during the Xena cycle. However, this does not necessarily mean that using Tempest as of this tag will work against a Xena (or future release) cloud. To be on safe side, use this tag to test the OpenStack Wallaby release.

New Features

  • In this release, we made tempest/scenario/manager.py a stable interface ready to be consumed by all tempest plugins. The effort was tracked in the following etherpad [1], and the related review can be listed via [2]:

    Some time ago, tempest/scenario/manager.py got copied to most of the plugins and therefore, it diverged - every plugin’s copy had slight differences. In this release, we pushed changes to unify the manager’s methods and improved their APIs in order to have them easier consumable:

    • we added implementations of methods that were often used in plugins’ manager.py however were not implemented in our manager

    • we improved APIs by f.e. adding a kwargs argument so that the consumers are more in control of the data that are passed to tempest clients

    • we modified logic of a few methods so that it complies with the plugins’ manager versions in order to prepare for a situation when the plugins can reuse Tempest manager as much as possible rather than keeping their own copy

    • we made methods consistent w.r.t. names and parameters

    • we split the lengthy methods to have more readable code

    • previously private methods which had a potential to be reused were made public so that it’s clear they are expected to be used in tempest plugins

    • missing docstrings have been added

  • Add a new client to handle requests to create and delete assisted volume snapshots.

  • Adds a method to images_client to get tasks relevant to a given image. Also adds has_version() method to image versions_client to probe for availability of a given API version.

Upgrade Notes

  • img_dir scenario option has been deprecated and it’s being removed. Starting Tempest 25.0.0 release, CONF.scenario.img_file needs a full path for the image. Until this release, old behavior was maintained and kept working however a user needs to specify the full path in CONF.scenario.img_file config option from now on.

  • The old deprecated data-ultis from tempest.common.utils has been removed. If you are still using this, use the stable version of data-utils from new location tempest.lib.common.utils.

Other Notes

  • A new [compute-feature-enabled]ide_bus config option has been introduced to indicate if the environment supports attaching disks to an instance using an IDE bus.

    This currently defaults to True but should be set to False when using the libvirt OpenStack Nova virt driver and the q35 machine type as support for this bus is no longer provided.