diff options
author | Lee Yarwood <lyarwood@redhat.com> | 2021-07-12 17:55:21 +0100 |
---|---|---|
committer | melanie witt <melwittt@gmail.com> | 2022-02-23 23:29:09 +0000 |
commit | 7ecdfb61a92301fef8c036572367ee6d1ffc3c0d (patch) | |
tree | 672ea6c0c8ad951edc0c07aa9cb04a9914a92acb /releasenotes | |
parent | b5029890c1c5b1b5153c9ca2fc9a8ea2437f635d (diff) | |
download | nova-7ecdfb61a92301fef8c036572367ee6d1ffc3c0d.tar.gz |
libvirt: Register defaults for undefined hw image properties
Currently, device bus and model types defined as image properties
associated with an instance are always used when launching instances
with the libvirt driver. When these types are not defined as image
properties, their values either come from libosinfo or those directly
hardcoded into the libvirt driver. This means that any changes to the
defaults provided by libosinfo or the libvirt driver could result in
unforeseen changes to existing instances. This has been encountered in
the past as libosinfo assumes that libvirt domain definitions are
static when OpenStack Nova specifically rewrites and redefines these
domains during a hard reboot or migration allowing changes to possibly
occur.
This adds persistence of device bus and model type defaults to the
instance's system metadata so that they will remain stable across
reboots and migrations.
Co-Authored-By: melanie witt <melwittt@gmail.com>
Blueprint: libvirt-device-bus-model-update
Change-Id: I44d41a134a7fab638e2ea88e7ae86d25070e8a43
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/register-defaults-for-undefined-hw-image-properties-d86bcf99f4610239.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/releasenotes/notes/register-defaults-for-undefined-hw-image-properties-d86bcf99f4610239.yaml b/releasenotes/notes/register-defaults-for-undefined-hw-image-properties-d86bcf99f4610239.yaml new file mode 100644 index 0000000000..40ac1e4d85 --- /dev/null +++ b/releasenotes/notes/register-defaults-for-undefined-hw-image-properties-d86bcf99f4610239.yaml @@ -0,0 +1,15 @@ +other: + - | + Default image properties for device buses and models are now persisted in + the instance system metadata for the following image properties: + + * ``hw_cdrom_bus`` + * ``hw_disk_bus`` + * ``hw_input_bus`` + * ``hw_pointer_model`` + * ``hw_video_model`` + * ``hw_vif_model`` + + Instance device buses and models will now remain stable across reboots and + will not be changed by new defaults in libosinfo or the OpenStack Nova + libvirt driver. |