Skip to content

Commit c5d1a05

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Remove libvirt apparmor workaround"
2 parents 8504bc1 + cbae989 commit c5d1a05

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

lib/neutron_plugins/ovn_agent

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -300,18 +300,6 @@ function create_public_bridge {
300300
_configure_public_network_connectivity
301301
}
302302

303-
function _disable_libvirt_apparmor {
304-
if ! sudo aa-status --enabled ; then
305-
return 0
306-
fi
307-
# NOTE(arosen): This is used as a work around to allow newer versions
308-
# of libvirt to work with ovs configured ports. See LP#1466631.
309-
# requires the apparmor-utils
310-
install_package apparmor-utils
311-
# disables apparmor for libvirtd
312-
sudo aa-complain /etc/apparmor.d/usr.sbin.libvirtd
313-
}
314-
315303

316304
# OVN compilation functions
317305
# -------------------------
@@ -614,7 +602,6 @@ function init_ovn {
614602
# in the ovn, ovn-nb, or ovs databases. We're going to trash them and
615603
# create new ones on each devstack run.
616604

617-
_disable_libvirt_apparmor
618605
local mkdir_cmd="mkdir -p ${OVN_DATADIR}"
619606

620607
if [[ "$OVN_BUILD_FROM_SOURCE" == "False" ]]; then

0 commit comments

Comments
 (0)