I've never seen this kind of behavior since I'm start using lxc, so I think it can be say solved already.
I found a commit which seems solved this problem in history: https://github.com/lxc/lxc/commit/7fef7a06d809334b178f76630bb10faa16dc58c0 The above commit was made in 25 Feb 2010 and released in 17 Jun 2010(lxc-0.7.0), and the comment in LXCHypervisor was added in 20 Apr 2010, so this hypothesis make sense. 2014-08-22 2:17 GMT+09:00 Hrvoje Ribicic <[email protected]>: > Just to clarify, was the network interfaces issue resolved by LXC>=1.0.0? > > On Mon, Aug 18, 2014 at 3:38 AM, Yuto KAWAMURA(kawamuray) > <[email protected]> wrote: >> >> This commit discards comments in LXCHypervisor which are already >> solved, or already not accurate. >> >> Signed-off-by: Yuto KAWAMURA(kawamuray) <[email protected]> >> --- >> lib/hypervisor/hv_lxc.py | 11 ----------- >> 1 file changed, 11 deletions(-) >> >> diff --git a/lib/hypervisor/hv_lxc.py b/lib/hypervisor/hv_lxc.py >> index 54a3612..42ab93a 100644 >> --- a/lib/hypervisor/hv_lxc.py >> +++ b/lib/hypervisor/hv_lxc.py >> @@ -43,17 +43,6 @@ from ganeti.errors import HypervisorError >> class LXCHypervisor(hv_base.BaseHypervisor): >> """LXC-based virtualization. >> >> - TODO: >> - - move hardcoded parameters into hypervisor parameters, once we >> - have the container-parameter support >> - >> - Problems/issues: >> - - LXC is very temperamental; in daemon mode, it succeeds or fails >> - in launching the instance silently, without any error >> - indication, and when failing it can leave network interfaces >> - around, and future successful startups will list the instance >> - twice >> - >> """ >> _ROOT_DIR = pathutils.RUN_DIR + "/lxc" >> _LOG_DIR = pathutils.LOG_DIR + "/lxc" >> -- >> 2.0.4 >> > > > > Hrvoje Ribicic > Ganeti Engineering > Google Germany GmbH > Dienerstr. 12, 80331, München > > Registergericht und -nummer: Hamburg, HRB 86891 > Sitz der Gesellschaft: Hamburg > Geschäftsführer: Graham Law, Christine Elizabeth Flores > Steuernummer: 48/725/00206 > Umsatzsteueridentifikationsnummer: DE813741370
