From ceba6db664661cfb51a520b0634789fbcc2eb051 Mon Sep 17 00:00:00 2001 From: Ankit Arora Date: Tue, 23 Apr 2019 03:05:45 -0500 Subject: [PATCH] Added powervm as hypervisor type for image metadata prefiltering. "powervm" as hypervisor type is required for image metadata prefiltering in glance. Closes-Bug: #1826136 Change-Id: I7afd43c2e0581d30a78d5ed4e30f8eb2af1cf444 --- etc/metadefs/compute-hypervisor.json | 3 ++- .../train-metadefs-changes-c4380754cdd13a19.yaml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/train-metadefs-changes-c4380754cdd13a19.yaml diff --git a/etc/metadefs/compute-hypervisor.json b/etc/metadefs/compute-hypervisor.json index 29169dc961..ea73ab15f7 100644 --- a/etc/metadefs/compute-hypervisor.json +++ b/etc/metadefs/compute-hypervisor.json @@ -12,13 +12,14 @@ "properties": { "hypervisor_type": { "title": "Hypervisor Type", - "description": "Hypervisor type required by the image. Used with the ImagePropertiesFilter. \n\n KVM - Kernel-based Virtual Machine. LXC - Linux Containers (through libvirt). QEMU - Quick EMUlator. UML - User Mode Linux. hyperv - Microsoft® hyperv. vmware - VMware® vsphere. Baremetal - physical provisioning. VZ - Virtuozzo OS Containers and Virtual Machines (through libvirt). For more information, see: http://docs.openstack.org/trunk/config-reference/content/section_compute-hypervisors.html", + "description": "Hypervisor type required by the image. Used with the ImagePropertiesFilter. \n\n Baremetal - physical provisioning. hyperv - Microsoft® hyperv. KVM - Kernel-based Virtual Machine. LXC - Linux Containers (through libvirt). powervm - IBM® PowerVM®. QEMU - Quick EMUlator. UML - User Mode Linux. vmware - VMware® vsphere. VZ - Virtuozzo OS Containers and Virtual Machines (through libvirt). For more information, see: https://docs.openstack.org/nova/latest/admin/configuration/hypervisors.html", "type": "string", "enum": [ "baremetal", "hyperv", "kvm", "lxc", + "powervm", "qemu", "uml", "vmware", diff --git a/releasenotes/notes/train-metadefs-changes-c4380754cdd13a19.yaml b/releasenotes/notes/train-metadefs-changes-c4380754cdd13a19.yaml new file mode 100644 index 0000000000..4359fa83f7 --- /dev/null +++ b/releasenotes/notes/train-metadefs-changes-c4380754cdd13a19.yaml @@ -0,0 +1,12 @@ +--- +upgrade: + - | + The following metadata definitions have been modified in the Train + release: + + * Added ``powervm`` to the ``hypervisor_type`` enumeration in the + ``OS:::Compute::Hypervisor`` namespace. + + You may upgrade these definitions using: + + ``glance-manage db load_metadefs [--path ] [--merge] [--prefer_new]``