neutron/devstack/lib
Lucas Alvares Gomes fb9d25eb53 DevStack: OVS: Only install kernel-* packages when needed
If the host OS is using an older kernel and invoke the compile_ovs
function from the DevStack OVS library (devstack/lib/ovs), that function
will try to install the kernel-dev and kernel-headers package even if
the "build_modules" parameter is set to False.

That could fail because the specific kernel-* packages for the version
of the kernel running may not be present in the distro's repository
anymore. Plus, if the kernel modules will not be compiled, there's no
reason to install such packages.

This patch is fixing this problem by using the "build_modules" parameter
as a flag to whether install or not those kernel-* packages.

Change-Id: I11af0e22d25973e6334e867ab2659fbdf9f10d86
Closes-Bug: #1802101
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
(cherry picked from commit cdfeeaf2bc)
2018-11-23 10:23:12 +00:00
..
ml2_drivers Remove deprecated sriov agent_required option 2015-10-21 13:41:19 +02:00
dns Add dns-integration setup to devstack plugin 2017-11-22 07:50:06 +00:00
flavors devstack: use neutron_service_plugin_class_add for service plugins 2017-03-07 21:20:51 +00:00
l2_agent devstack: switch to new NEUTRON_* variables 2017-03-07 21:06:35 +00:00
l2_agent_sriovnicswitch devstack: Add neutron-sriov-agent alias for lib/neutron 2017-05-08 09:25:45 +09:00
l3_agent Try to enable L3 agent extension `fip_qos` 2018-03-22 17:16:18 +00:00
log [log]: Devstack plugin for logging api 2017-12-19 14:40:57 +07:00
macvtap_agent devstack: switch to new NEUTRON_* variables 2017-03-07 21:06:35 +00:00
ml2 devstack: Adapt to lib/neutron 2017-05-26 12:16:44 +09:00
ovs DevStack: OVS: Only install kernel-* packages when needed 2018-11-23 10:23:12 +00:00
qos Try to enable L3 agent extension `fip_qos` 2018-03-22 17:16:18 +00:00
segments Enable segments plugin in gate 2017-05-16 16:24:15 +00:00
trunk devstack: use neutron_service_plugin_class_add for service plugins 2017-03-07 21:20:51 +00:00