Hi Sumit, thanks for the report. I think this is a bug. Taking a quick look, nova-manage seems to ignore the flags file and load the wrong linux_net.interface_driver. Can you try this patch?
diff --git a/bin/nova-manage b/bin/nova-manage index 4927614..16b5331 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -105,7 +105,6 @@ flags.DECLARE('network_size', 'nova.network.manager') flags.DECLARE('vlan_start', 'nova.network.manager') flags.DECLARE('vpn_start', 'nova.network.manager') flags.DECLARE('default_floating_pool', 'nova.network.manager') -flags.DECLARE('public_interface', 'nova.network.linux_net')
# Decorators for actions @@ -632,6 +631,7 @@ class FloatingIpCommands(object): help='Optional interface') def create(self, ip_range, pool=None, interface=None): """Creates floating ips for zone by range""" + flags.DECLARE('public_interface', 'nova.network.linux_net') addresses = netaddr.IPNetwork(ip_range) admin_context = context.get_admin_context() if not pool:
Hi Sumit, thanks for the report. I think this is a bug. Taking a quick look, nova-manage seems to ignore the flags file and load the wrong linux_net. interface_ driver. Can you try this patch?
diff --git a/bin/nova-manage b/bin/nova-manage 'network_ size', 'nova.network. manager' ) DECLARE( 'vlan_start' , 'nova.network. manager' ) DECLARE( 'vpn_start' , 'nova.network. manager' ) DECLARE( 'default_ floating_ pool', 'nova.network. manager' ) DECLARE( 'public_ interface' , 'nova.network. linux_net' )
index 4927614..16b5331 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -105,7 +105,6 @@ flags.DECLARE(
flags.
flags.
flags.
-flags.
# Decorators for actions nds(object) :
help= 'Optional interface') 'public_ interface' , 'nova.network. linux_net' ) IPNetwork( ip_range)
admin_ context = context. get_admin_ context( )
@@ -632,6 +631,7 @@ class FloatingIpComma
def create(self, ip_range, pool=None, interface=None):
"""Creates floating ips for zone by range"""
+ flags.DECLARE(
addresses = netaddr.
if not pool: