nova/nova/virt
Sean Mooney adf7ba61dd stop setting mtu when plugging vhost-user ports
vhost-user is a userspace protocol to establish connectivity
between a virto-net frontend typically qemu and a
userspace virtio backend such as ovs with dpdk.

vhost-user interfaces exist only in userspace from the host perspective
and are not represented in the linux networking stack as kernel netdevs.
As a result attempting to set the mtu on a vhost-user interface
using ifconfig or ip link will fail with a device not found error.

- this change removes a call to _set_device_mtu when plugging
  vhost-user interfaces.
- this change prevents the device not found error from occurring
  which stopped vms booting with vhost-user interfaces
  due to an uncaught exception resulting in a failure to set the
  interface type in ovs.
- this change make creating vhost-user interface
  an atomic action.

This latent bug is only triggered when the mtu value is set to a
value other than 0 which was the default proir to mitaka.

Change-Id: I2e17723d5052d57cd1557bd8a173c06ea0dcb2d4
Closes-Bug: #1533876
2016-03-18 14:56:44 +00:00
..
disk config options: Centralise 'virt.disk' options 2016-02-22 09:36:44 +00:00
hyperv Merge "Replace deprecated LOG.warn with LOG.warning" 2016-03-17 05:36:59 +00:00
image Fix typo in model doc string 2015-07-03 00:11:55 -07:00
ironic [Ironic]Match vif-pif mac address before setting 'vif_port_id' 2016-03-08 16:06:05 +08:00
libvirt stop setting mtu when plugging vhost-user ports 2016-03-18 14:56:44 +00:00
vmwareapi Replace deprecated LOG.warn with LOG.warning 2016-03-15 11:57:56 +00:00
xenapi Merge "xenapi: Fix the live-migrate aggregate check" 2016-03-17 14:56:35 +00:00
__init__.py Removed copyright from empty files 2014-02-27 14:27:54 +02:00
block_device.py Replace deprecated LOG.warn with LOG.warning 2016-03-15 11:57:56 +00:00
configdrive.py Config drive: convert to use instance.image_meta property 2016-01-17 02:01:23 -08:00
diagnostics.py Diagnostics: add validation for types 2014-08-05 01:49:17 -07:00
driver.py virt: refactor method compute_driver_matches 2016-03-10 00:27:13 +08:00
event.py Add 'suspended' lifecycle event 2015-04-03 03:59:20 +03:00
fake.py Merge "Abstract a driver API for triggering crash dump" 2016-03-03 11:42:02 +00:00
firewall.py Fix string interpolations at logging calls 2016-03-07 12:05:58 +09:00
hardware.py Revert "virt: reserved hugepages on compute host" 2016-03-14 10:26:23 +00:00
imagecache.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
images.py Fix string interpolations at logging calls 2016-03-07 12:05:58 +09:00
interfaces.template Fixes interfaces template identification issue 2014-12-07 17:52:34 +02:00
netutils.py config options: Centralise 'virt.netutils' options 2016-02-22 09:36:44 +00:00
opts.py Sample nova.conf file has missing/duplicated config options 2016-03-03 13:08:02 +01:00
osinfo.py virt: osinfo will report once if libosinfo is not loaded 2016-02-09 17:59:43 -05:00
storage_users.py Use oslo.log 2015-02-22 07:56:40 -05:00
virtapi.py Remove unused provider firewall rules functionality in nova 2016-02-01 15:50:04 +01:00
volumeutils.py nova.utils._get_root_helper() should be public 2015-08-19 04:00:50 +00:00
watchdog_actions.py Add watchdog device support to libvirt driver 2014-03-03 14:59:58 -05:00