nova/nova
Matt Riedemann 8142d526df libvirt: conditionally set script path for ethernet vif types
Change I4f97c05e2dec610af22a5150dd27696e1d767896 worked around
a change introduced in libvirt 1.3.3 where the script path on
a LibvirtConfigGuestInterface could not be the emptry string
because libvirt would literally take that as the path and couldn't
resolve it, when in fact it used to indicate to libvirt that the
script path is a noop. This has been fixed in libvirt 3.1.

On Ubuntu with libvirt<1.3.3, if the script path is None then
it defaults to /etc/qemu-ifup which is blocked by AppArmor.

So this change adds a conditional check when setting the script
path value based on the libvirt version so we can straddle releases.

Change-Id: I192c61b93bd3736fdfe16b6a6906d58997d3eef9
Closes-Bug: #1665698
Related-Bug: #1649527
(cherry picked from commit a41d265a19)
(cherry picked from commit cc495a2465)
2017-03-21 15:32:35 -04:00
..
CA
api Merge "Pre-load info_cache when handling external events and handle NotFound" into stable/newton 2017-03-01 09:22:13 +00:00
cells Remove straggling use of main db flavors in cellsv1 code 2017-02-14 15:44:14 -05:00
cert
cloudpipe conf: Move cloudpipe options to a group 2016-08-22 09:31:03 +01:00
cmd Merge "Make simple_cell_setup fully idempotent" into stable/newton 2017-02-15 22:12:11 +00:00
common
compute Merge "libvirt: Remove redundant bdm serial mangling and saving during swap_volume" into stable/newton 2017-03-15 04:34:05 +00:00
conductor Do not try to backport when db has older object version 2016-10-17 08:22:43 +00:00
conf Update docs for serial console support 2016-11-09 09:46:26 -05:00
console Fixed typos in nova: compute, console and conf dir 2016-08-01 21:14:32 +00:00
consoleauth
db Ignore deleted services in minimum version calculation 2017-02-27 12:12:35 -05:00
hacking Remove hacking check [N347] for config options. 2016-08-11 14:23:21 +02:00
image Determine disk_format for volume-backed snapshot from schema 2016-09-26 14:07:20 -04:00
ipv6 Fix test_ipv6 and simplify to_global() 2016-06-28 20:42:32 +02:00
keymgr Deprecate barbican options 2016-07-29 15:36:28 -05:00
locale Imported Translations from Zanata 2017-02-27 08:55:47 +00:00
network fix for auth during live-migration 2016-12-14 09:08:29 +00:00
notifications Merge "Make notification objects use flavor capacity attributes" 2016-08-06 05:58:09 +00:00
objects Merge "[placement] Enforce min_unit, max_unit and step_size" into stable/newton 2017-03-06 12:17:55 +00:00
pci Fix crashing during guest config with pci_devices=None 2016-12-12 15:07:18 +00:00
policies Merge "Fix server operations' policies to admin only" 2016-08-11 06:07:52 +00:00
scheduler Merge "Fresh resource provider in RT must have generation 0" into stable/newton 2017-03-07 12:44:33 +00:00
servicegroup
tests libvirt: conditionally set script path for ethernet vif types 2017-03-21 15:32:35 -04:00
virt libvirt: conditionally set script path for ethernet vif types 2017-03-21 15:32:35 -04:00
vnc
volume encryptors: Workaround mangled passphrases 2016-11-10 15:31:07 +00:00
wsgi
__init__.py
availability_zones.py
baserpc.py
block_device.py Allow None for block_device_mapping_v2.boot_index 2017-02-09 10:33:35 -05:00
cache_utils.py
config.py Add the ability to configure glanceclient debug logging 2016-08-04 00:32:37 +00:00
context.py Merge "Move cell message queue switching and add caching" 2016-09-01 21:49:23 +00:00
crypto.py
debugger.py
exception.py [placement] Enforce min_unit, max_unit and step_size 2017-01-18 12:54:32 -05:00
exception_wrapper.py do not include context to exception notification 2017-03-17 13:06:25 -04:00
filters.py
hash_ring.py Ironic: allow multiple compute services 2016-08-04 23:51:13 +00:00
hooks.py
i18n.py
loadables.py
manager.py
policy.py Emit warning when use 'user_id' in policy rule 2016-08-29 11:46:15 +00:00
quota.py incorrect description in nova-api.log about quota check 2016-09-02 17:00:14 +09:00
rpc.py Stop overwriting thread local context in ClientRouter 2016-09-28 12:07:41 -04:00
safe_utils.py
service.py Device tagging API support 2016-06-29 20:55:16 -07:00
signature_utils.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test.py Use StableObjectJsonFixture from o.vo 2016-08-29 11:52:10 -04:00
utils.py Merge "Properly quote IPv6 address in RsyncDriver" 2016-08-18 13:17:19 +00:00
version.py
weights.py
wsgi.py