← Back to team overview

openstack team mailing list archive

Re: [OpenStack] Remove unsed network on host with nova-network

 

The only reason this is not done is that it makes the setup simpler. We
don't have to worry about potential races between setting up and tearing
down interfaces. It probably wouldn't be incredibly difficult to make a
patch that would remove them, but you will likely have to do some creative
locking to make sure that you don't run into issues.

Vish

On Nov 20, 2012, at 9:25 AM, Édouard Thuleau <thuleau@xxxxxxxxx> wrote:

> Hi all,
> 
> I use nova-network with VLAN manager.
> 
> Why nova-network doesn't remove unused network interfaces on a host ?
> 
> ie, if none VM on a host have a fixed IP attach to network X, the VLAN
> and bridge of this network still up and unused. And 'dnsmasq' process
> still listen and running.
> 
> The number of unused network interfaces will grow over time.
> In the VLAN mode, this number could be 4000 x 2 unused interfaces and
> 4000 unused 'dnsmasq' processes (in worth case).
> 
> Can it lead to decrease the kernel performance ?
> Is it a bug ? Or a voluntary implementation ?
> 
> Regards,
> Édouard.
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References