nova/nova/virt
Mohammed Naser 643f53f5e9 libvirt: Avoid setting MTU during live migration if unset
If there is a live migration of an instance that was launched
before change Iecc265fb25e88fa00a66f1fd38e215cad53e7669, it
would not have an mtu set and therefore it wouldn't have it in
the XML.

When live migrating, the mtu is added which changes the
guest ABI[1], causing the live migration to fail.  The failure
occurs when trying to live migrate an instance that:

- Launched before change Iecc265fb25e88fa00a66f1fd38e215cad53e7669
- It has not been rebooted (i.e. XML has not changed since)
- It's using bridge/tap networking
- Migration attempted after change Iecc265fb25e88fa00a66f1fd38e215cad53e7669

This patch prevents this by avoiding setting MTU if the running
instance does not have one configured in its domain XML.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1449346

Closes-Bug #1800511
Change-Id: I6e2e6437a7c826dc425d8b353c38670d6eece0b5
2018-10-29 21:20:15 +01:00
..
disk libvirt: Reduce calls to qemu-img during update_available_resource 2018-08-08 15:22:44 +01:00
hyperv hyperv: Cleans up live migration Planned VM 2018-08-23 17:07:36 -07:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic Don't emit warning when ironic properties are zero 2018-09-27 14:38:22 +00:00
libvirt libvirt: Avoid setting MTU during live migration if unset 2018-10-29 21:20:15 +01:00
powervm Merge "Rename recreate to evacuate in driver signatures" 2018-07-21 23:19:40 +00:00
vmwareapi VMware: Live migration of instances 2018-10-02 10:13:57 +03:00
xenapi Merge "XenAPI/Stops the migration of volume backed VHDS" 2018-09-20 19:25:57 +00:00
zvm Fix missing print format error 2018-07-20 16:29:53 +08:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
arch.py Added ability to configure default architecture for ImagePropertiesFilter 2018-05-14 16:55:13 -04:00
block_device.py Add compute version 36 to support ``volume_type`` 2018-10-11 16:00:48 -04:00
configdrive.py Convert configdrive to use processutils. 2018-05-02 21:42:05 +10:00
driver.py Fix NoneType error in _notify_volume_usage_detach 2018-10-12 17:38:25 -04:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py Add functional recreate test for bug 1799727 2018-10-24 15:10:52 -04:00
firewall.py Merge "Remove translation of log messages" 2017-06-20 21:16:49 +00:00
hardware.py hardware: fix memory check usage for small/large pages 2018-08-31 08:13:11 -04:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py Implement certificate_utils 2018-06-12 14:44:32 -04:00
interfaces.template
netutils.py libvirt: add vf_trusted field for network metadata 2018-05-30 15:11:59 -04:00
osinfo.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Remove unused provider firewall rules functionality in nova 2016-02-01 15:50:04 +01:00