Use the blacklist in modprobe as the bridge module might be blacklisted by the openvswitch installation.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fde6637f Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fde6637f Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fde6637f Branch: refs/heads/object_store Commit: fde6637f90d2466d9d99579ffb0f782adf2a8162 Parents: 2d10ae7 Author: Hugo Trippaers <[email protected]> Authored: Wed Jun 19 20:59:02 2013 +0200 Committer: Hugo Trippaers <[email protected]> Committed: Wed Jun 19 20:59:02 2013 +0200 ---------------------------------------------------------------------- python/lib/cloudutils/networkConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fde6637f/python/lib/cloudutils/networkConfig.py ---------------------------------------------------------------------- diff --git a/python/lib/cloudutils/networkConfig.py b/python/lib/cloudutils/networkConfig.py index 9e456e9..405a3be 100644 --- a/python/lib/cloudutils/networkConfig.py +++ b/python/lib/cloudutils/networkConfig.py @@ -82,7 +82,7 @@ class networkConfig: if os.path.exists("/proc/sys/net/bridge"): return True - return bash("modprobe bridge").isSucess() + return bash("modprobe -b bridge").isSucess() @staticmethod def isNetworkDev(devName):
