Alon Bar-Lev has uploaded a new change for review. Change subject: bridge: temporary workaround for firewalld behaviour ......................................................................
bridge: temporary workaround for firewalld behaviour Currently, addNetwork just hangs if firewalld is up while creating the bridge. So as temporary workaround stop firewalld before creating the bridge. Change-Id: Ib6c248a7c49492f7889fc71f11ae1dad1e3434ae Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=869963 Signed-off-by: Alon Bar-Lev <[email protected]> --- M src/plugins/ovirt-host-deploy/vdsm/bridge.py 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy refs/changes/88/9588/1 diff --git a/src/plugins/ovirt-host-deploy/vdsm/bridge.py b/src/plugins/ovirt-host-deploy/vdsm/bridge.py index 214915d..d4f5db3 100644 --- a/src/plugins/ovirt-host-deploy/vdsm/bridge.py +++ b/src/plugins/ovirt-host-deploy/vdsm/bridge.py @@ -494,6 +494,12 @@ ovirtfunctions.ovirt_safe_delete_config(ifcfg) def _createBridge(self, name, interface, parameters): + # WORKAROUND-BEGIN + # firewalld conflicts with addNetwork causes to hang + if self.services.exists('firewalld'): + self.services.state('firewalld', False) + # WORKAROUND-END + interface, vlanid = self._getVlanMasterDevice(name=interface) parameters = parameters[:] + ['blockingdhcp=true'] self.execute( -- To view, visit http://gerrit.ovirt.org/9588 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib6c248a7c49492f7889fc71f11ae1dad1e3434ae Gerrit-PatchSet: 1 Gerrit-Project: ovirt-host-deploy Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
