7ecdfb61a9
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
16 lines
479 B
YAML
16 lines
479 B
YAML
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.
|