nova/nova
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
..
CA
api Merge "Replace deprecated LOG.warn with LOG.warning" 2016-03-17 05:36:59 +00:00
cells Set RPC version aliases for Mitaka 2016-03-16 09:54:49 -07:00
cert Set RPC version aliases for Mitaka 2016-03-16 09:54:49 -07:00
cloudpipe Remove Deprecated EC2 and ObjectStore impl/tests 2016-01-08 06:30:20 -05:00
cmd Merge "Add a cell and host mapping utility to nova-manage" 2016-03-15 22:42:31 +00:00
common Added Keystone and RequestID headers to CORS middleware 2016-03-02 04:53:11 -08:00
compute Merge "Replace deprecated LOG.warn with LOG.warning" 2016-03-17 05:36:59 +00:00
conductor Set RPC version aliases for Mitaka 2016-03-16 09:54:49 -07:00
conf Revert "virt: reserved hugepages on compute host" 2016-03-14 10:26:23 +00:00
console Set RPC version aliases for Mitaka 2016-03-16 09:54:49 -07:00
consoleauth Set RPC version aliases for Mitaka 2016-03-16 09:54:49 -07:00
db Make Flavor.get operations prefer the API database 2016-03-17 12:13:23 -07:00
hacking Hacking: check for deprecated os.popen() 2016-02-19 21:55:20 -02:00
image Replace deprecated LOG.warn with LOG.warning 2016-03-15 11:57:56 +00:00
ipv6
keymgr Migrate from keystoneclient to keystoneauth 2016-01-28 10:55:29 -06:00
locale Imported Translations from Zanata 2016-03-16 06:22:54 +00:00
mks
network stop setting mtu when plugging vhost-user ports 2016-03-18 14:56:44 +00:00
objects Make Flavor.get operations prefer the API database 2016-03-17 12:13:23 -07:00
openstack Use imageutils from oslo.utils 2016-02-16 18:34:43 +08:00
pci pci: avoid parsing whitelist repeatedly 2016-03-09 18:49:15 +00:00
rdp
scheduler Set RPC version aliases for Mitaka 2016-03-16 09:54:49 -07:00
servicegroup Replace deprecated LOG.warn with LOG.warning 2016-03-15 11:57:56 +00:00
spice
tests stop setting mtu when plugging vhost-user ports 2016-03-18 14:56:44 +00:00
virt stop setting mtu when plugging vhost-user ports 2016-03-18 14:56:44 +00:00
vnc config options: Centralise 'vnc' options 2016-02-03 13:36:20 +00:00
volume Replace deprecated LOG.warn with LOG.warning 2016-03-15 11:57:56 +00:00
wsgi Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
__init__.py
availability_zones.py Merge "Config options: centralize options in availability_zones" 2016-02-20 04:49:15 +00:00
baserpc.py
block_device.py virt: refactor method compute_driver_matches 2016-03-10 00:27:13 +08:00
cache_utils.py Switch to oslo.cache lib 2016-02-02 08:20:13 -05:00
config.py Added Keystone and RequestID headers to CORS middleware 2016-03-02 04:53:11 -08:00
context.py Fix string interpolations at logging calls 2016-03-07 12:05:58 +09:00
crypto.py Tolerate installation of pycryptodome 2016-02-13 21:29:28 -05:00
debugger.py
exception.py Revert "virt: reserved hugepages on compute host" 2016-03-14 10:26:23 +00:00
filters.py Prepare filters for using RequestSpec object 2015-11-16 22:41:02 +01:00
hooks.py Deprecate nova.hooks 2016-03-01 11:52:52 +00:00
i18n.py
loadables.py
manager.py Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
netconf.py
notifications.py Replaced deprecated timeutils methods 2015-11-18 17:45:29 +01:00
opts.py Sample nova.conf file has missing/duplicated config options 2016-03-03 13:08:02 +01:00
paths.py
policy.py use graduated oslo.policy 2015-11-26 13:04:52 +08:00
quota.py
rpc.py Forbid new legacy notification event_type 2016-03-07 10:31:56 +01:00
safe_utils.py Replace safe_utils.getcallargs with inspect.getcallargs 2015-12-11 10:15:37 -05:00
service.py Fix string interpolations at logging calls 2016-03-07 12:05:58 +09:00
signature_utils.py Fix sphinx warnings from signature_utils 2016-01-13 13:56:05 +00:00
test.py Forbid new legacy notification event_type 2016-03-07 10:31:56 +01:00
utils.py Merge "Remove unused methods in nova/utils.py" 2016-03-07 18:15:24 +00:00
version.py
weights.py
wsgi.py config options: centralize section "wsgi" 2016-02-03 13:18:10 +00:00