From 34f6249f7a8250122207f5bbe3ba68e000a341b4 Mon Sep 17 00:00:00 2001 From: Armando Migliaccio Date: Tue, 31 Jan 2012 14:33:19 +0000 Subject: [PATCH] bug 924267: Explicitly set firewall_driver to nova.virt.libvirt.firewall.IptablesFirewallDriver Because of https://bugs.launchpad.net/nova/+bug/924266, the default firewall_driver should not be the libvirt's one. So set the driver explicitly. Change-Id: I1e6a0d824e857bb082eef2a684445241d4c31aae --- AUTHORS | 1 + stack.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/AUTHORS b/AUTHORS index ec71326f6e..dc12105f87 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,6 +1,7 @@ Adam Gandelman Andy Smith Anthony Young +Armando Migliaccio Brad Hall Chmouel Boudjnah Dean Troyer diff --git a/stack.sh b/stack.sh index f0830a1733..17972c9d07 100755 --- a/stack.sh +++ b/stack.sh @@ -1235,6 +1235,8 @@ if [ "$VIRT_DRIVER" = 'xenserver' ]; then add_nova_flag "--firewall_driver=$XEN_FIREWALL_DRIVER" else add_nova_flag "--connection_type=libvirt" + LIBVIRT_FIREWALL_DRIVER=${LIBVIRT_FIREWALL_DRIVER:-"nova.virt.libvirt.firewall.IptablesFirewallDriver"} + add_nova_flag "--firewall_driver=$LIBVIRT_FIREWALL_DRIVER" add_nova_flag "--flat_network_bridge=$FLAT_NETWORK_BRIDGE" if [ -n "$FLAT_INTERFACE" ]; then add_nova_flag "--flat_interface=$FLAT_INTERFACE"