tempest/releasenotes/notes/image-enforcement-config-0bc67791a40bac56.yaml
Dan Smith 2ba7ed8e39 Avoid image format tests if glance is enforcing
If glance refuses to allow bad images to be uploaded, then we cannot
even register them to then test against nova or other services. Gate
these tests on a knob indicating whether or not glance will allow
them to be uploaded. The ListUserImagesTest class depends entirely on
being able to upload random data as every format/container, which is
fundamentally not something we can do with glance enforcing content
rules.

This makes the tempest-slow-py3 job disable glance image format
inspection so that we can get the compute tests to run.

Depends-On: https://review.opendev.org/c/openstack/devstack/+/931026
Change-Id: I05bb233cf1482895b96396852a15532295d3829b
2024-11-01 07:13:58 -07:00

9 lines
318 B
YAML

---
features:
- |
Add a new config option
`[image_feature_enabled]/image_format_enforcement` which tells tempest
that glance will do image format inspection and enforcement on upload. This
will disable tests that require glance to accept a bad image in order to
test another service (i.e. nova).