nodepool/releasenotes/notes/remove-diskimage-meta-checks-90f705903000eece.yaml
Joshua Watt a6bb2fff42 openstack: Remove metadata limit checks
The limit of 5 metadata items is 8 years old and outdated for modern
OpenStack. Instead of trying to guess what the OpenStack limits are
(which may depend on quota settings), remove all the checks and let
OpenStack reject the image at upload time.

Change-Id: Ifa2e429db3bac2e3cad73dce09e01c901ea133c4
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2022-05-23 11:44:19 -05:00

14 lines
609 B
YAML

---
fixes:
- |
Removes diskimage.meta checks from the OpenStack driver. The limit of only
5 entries is anachronistic and now removed. Rather than trying to pre-guess
what OpenStack wants the metadata is now passed as-is and OpenStack will
reject it at upload time.
Previously, metadata was checked by nodepool and invalid values would cause
all metadata to be silently ignored. Now, metadata will be passed directly
to glance, and an API error will occur. This may mean that images that
previously uploaded (with no metadata) will now cause an API error when
uploading.