Tobiko 0.8.6
Release Notes
0.8.6
Deprecation Notes
The config parameter image_file is not available anymore. With this parameter, it was possible to configure the local path to the images that could be used to create either Cirros or Ubuntu VM instances. It is still possible to do this, using the existing parameter image_url:
[cirros] image_url=file:///tmp/cirros.img
Internally, the image_file attribute is still part of the UrlGlanceImageFixture class and it indicates where the image file is saved locally.
CustomizedGlanceImageFixture class is not supported anymore. This means the Ubuntu image provided via tobiko.conf, which could be customized during test execution in previous tobiko versions, has to include all the expected customizations. When using the tobiko ansible roles, the tobiko-download-images roles performes the required customizations by default. The URL to download an image without any customizations and the command that are executed during the opendev jobs can be found here: https://opendev.org/x/tobiko/src/commit/eb83ebe860dfb4206b346a822675c01f8ba82ccf/roles/tobiko-common/defaults/main.yaml#L62
Due to the deprecation of the CustomizedGlanceImageFixture class, some configuration parameters have been deprecated at image level.
interface_name is not supported anymore because tobiko does not need to create a VLAN over that interface (the customized image already includes it).
customized_image_provided boolean is not supported anymore because the provided images were previously customized.
Other Notes
From this release onwards, tobiko will use by default Fedora as guest images. The tobiko-download ansible role downloads a Fedora image and customizes it, by default. The tobiko tests will find that image in a local disk and upload it to glance. The resource names (images, VM instances, etc) do not include “Fedora”, but “Advanced” images or VMs. The test names and test class names using these Advanced images usually include the string “Advanced” too. The [ubuntu] section from the tobiko.conf file is replaced with the [advanced_vm] section. If the tobiko ansible roles are not used, an already customized image can be configured in tobiko.conf
[advanced_vm] image_url=file:///tmp/fedora-customized.qcow2 # or https://file-server.com/fedora-customized.qcow2
Changes in the tobiko infrared plugin parameters:
–ubuntu-connection-timeout is renamed to –advanced-vm-connection-timeout
–ubuntu-is-reachable-timeout is renamed to advanced-vm-is-reachable-timeout
New parameter added, –customized-fedora-image-url: URL to customized fedora image that tobiko ansible roles will download and will be used to create Advanced VM instances