nova/nova
Matt Riedemann a41d265a19 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
2017-03-21 14:12:39 -04:00
..
CA
api Merge "remove log translation from nova.api.metadata" 2017-03-21 14:31:00 +00:00
cells Remove old oslo.messaging transport aliases 2017-03-17 20:41:16 +08:00
cert Add RPC version aliases for Ocata 2017-02-27 18:37:48 +04:00
cloudpipe Rename security_group parameter in compute.API:create 2016-11-10 11:25:43 -05:00
cmd Merge "Prevent delete cell0 in nova-manage command" 2017-03-20 18:22:08 +00:00
common cors: update default configuration in config 2016-11-05 20:17:42 -04:00
compute Merge "compute: Only destroy BDMs after successful detach call" 2017-03-20 13:26:50 +00:00
conductor Add populate_retry to schedule_and_build_instances 2017-03-15 21:18:47 -04:00
conf Merge "conf: fix default values reporting infra worker" 2017-03-20 16:19:49 +00:00
console Add RPC version aliases for Ocata 2017-02-27 18:37:48 +04:00
consoleauth Make consoleauth target the proper cell 2017-03-07 15:33:50 -08:00
db Add comment to instance_destroy() 2017-03-03 14:26:48 -06:00
hacking remove hacking rule that enforces log translation 2017-03-16 09:56:21 -04:00
image Avoid using fdatasync() when fetching images 2017-03-09 13:20:10 +02:00
ipv6
keymgr
locale Imported Translations from Zanata 2017-03-03 10:09:38 +00:00
network Merge "Add RPC version aliases for Ocata" 2017-03-07 00:23:19 +00:00
notifications Transform instance.reboot.error notification 2017-03-16 14:43:50 +00:00
objects Merge "Add a note about force_hosts only ever having a single value" 2017-03-16 17:04:32 +00:00
pci [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
policies Merge "Add description to policies in attach_interfaces.py" 2017-03-21 14:25:45 +00:00
scheduler Merge "Cleanup the caches when deleting a resource provider" 2017-03-17 00:03:43 +00:00
servicegroup Don't use 'updated_at' to check service's status 2016-12-08 09:51:03 +00:00
tests libvirt: conditionally set script path for ethernet vif types 2017-03-21 14:12:39 -04:00
virt libvirt: conditionally set script path for ethernet vif types 2017-03-21 14:12:39 -04:00
vnc
volume Merge "Remove a dead cinder v1 check" 2017-03-11 03:11:56 +00:00
wsgi Clarify the language in the apache wsgi sample 2017-02-02 15:43:25 -08:00
__init__.py
availability_zones.py Make os-availability-zones know about cells 2017-03-15 11:02:58 -07:00
baserpc.py
block_device.py Merge "Fix some typo errors" 2017-02-23 04:09:33 +00:00
cache_utils.py
config.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
context.py Temporarily untarget context when deleting from cell0 2017-03-13 13:45:03 -04:00
crypto.py
debugger.py
exception.py Merge "numa: add numa constraints for emulator threads policy" 2017-03-09 11:15:57 +00:00
exception_wrapper.py do not include context to exception notification 2017-03-17 11:30:22 +01:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
policy.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
profiler.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
quota.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
rpc.py Remove old oslo.messaging transport aliases 2017-03-17 20:41:16 +08:00
safe_utils.py
service.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
service_auth.py Add service_token for nova-cinder interaction 2017-01-11 15:49:16 +00:00
signature_utils.py
test.py Use flake8-import-order 2017-03-06 06:50:23 -08:00
utils.py Merge "[2/3]Replace six.iteritems() with .items()" 2017-01-21 06:55:52 +00:00
version.py
weights.py Correct some spelling errors 2017-02-25 02:45:30 +00:00
wsgi.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00