glance/releasenotes/notes/train-metadefs-changes-c4380754cdd13a19.yaml
Adam Spiers 3a281b9bc6 Add SEV-related extra spec and image properties
The AMD SEV support recently introduced to nova[0] depends on certain
metadata properties for flavors and images which were either missing
or only partially covered by existing glance metadata, so fill the
missing gaps:

- Add the hw:mem_encryption flavor extra spec and corresponding
  hw_mem_encryption image property.

- hw_firmware_type has been supported by nova for quite a while,
  so register it as an official metadata property.

- Add hw_cdrom_bus which was missing as per
  https://bugs.launchpad.net/glance/+bug/1808868.  This shares
  values with hw_disk_bus, so document that too.

[0] https://docs.openstack.org/nova/latest/admin/configuration/hypervisor-kvm.html#amd-sev-secure-encrypted-virtualization

Closes-Bug: 1808868
Change-Id: I8116565ad0326d0125b320d840d787edcb086aa9
2019-09-12 19:58:27 +01:00

24 lines
805 B
YAML

---
upgrade:
- |
The following metadata definitions have been modified in the Train
release:
* Added ``hw:mem_encryption`` boolean in the ``OS::Nova::Flavor``
namespace, and ``hw_mem_encryption`` boolean in the
``OS::Glance::Image`` namespace.
* Added ``hw_pmu`` boolean, and ``hw_cdrom_bus`` and
``hw_firmware_type`` enumerations in the
``OS::Compute::LibvirtImage`` namespace.
* Added ``powervm`` to the ``hypervisor_type`` enumeration in the
``OS:::Compute::Hypervisor`` namespace.
* Added ``virtio``, ``gop`` and ``none`` to the ``hw_video_model``
enumeration in the ``OS::Compute::LibvirtImage`` namespace.
You may upgrade these definitions using:
``glance-manage db load_metadefs [--path <path>] [--merge] [--prefer_new]``