tobiko/releasenotes/notes/remove-CustomizedGlanceImageFixture-12e9012e57dba25a.yaml
Eduardo Olivares b2103cbec9 Tobiko does not customize images during run time
Before this patch, tobiko could customize provided guest images, such as
ubuntu images. This has been problematic recently, especially since
tobiko is executed on pods, because there have been issues to run
virt-customize with tobiko.
With this patch, tobiko tests expect an already customized guest image
included in its tobiko.conf.
If the tobiko ansible roles are used, by default they download an ubuntu
image and customize it, before executing tobiko tests.

Some parameter have been deprecated from tobiko.conf (python level),
such as `interface_name` and `customized_image_provided`.
Note: `interface_name` is still a valid ansible parameter because
ansible roles still customize ubuntu images.

Change-Id: Icde5fa5951dde79fec94a1c47366cc018785b1ed
2025-01-08 11:29:42 +01:00

16 lines
1.1 KiB
YAML

---
deprecations:
- |
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.