[Lxc-users] veth interface not deleted?

Petru Ghita petru.ghita at gmail.com
Fri Sep 13 14:03:53 UTC 2013


If you try to:

ifconfig ${LXC_BRIDGE} down
brctl delbr ${LXC_BRIDGE}

does the interface get deleted?

On 09/13/2013 02:05 PM, Fajar A. Nugraha wrote:
> On Fri, Sep 13, 2013 at 6:53 PM, Petru Ghita <petru.ghita at gmail.com
> <mailto:petru.ghita at gmail.com>> wrote:
> 
>     Hello Fajar,
> 
>     What I'm doing as a workaround is to wait 10 seconds after a
>     lxc-shutdown has completed.
> 
> 
> The thing with that workaround, is it definitely don't work for an "init
> 6" within the container
>  
> 
>     This alleviates the problem as by that time
>     it seems the network interfaces get almost always deleted.
> 
> 
> The keyword is "almost" :)
>  
> 
>     Nevertheless
>     sometimes they don't and the following lxc-start won't work. I found so
>     far, that a lxc-stop manages to get them deleted no matter what in those
>     cases.
> 
> 
> even lxc-stop didn't work in my case.
>  
> 
>     I didn't report the problem myself because I wasn't able to reproduce
>     it. 
> 
> 
> I was able to reproduce it every time, but only on the busy, production
> container.
>  
> 
>     My opinion on the issue is that it has something to do with CPU load
>     rather than with network traffic.
> 
>     I'm running about 30 containers on production with a mix of services
>     ranging from Zimbras to java application servers. The bug hits me while
>     on a backup script that first turns off the containers.
> 
> 
> 
> Good to know it's not only me then :)
> 
> -- 
> Fajar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130913/d6069674/attachment.pgp>


More information about the lxc-users mailing list