[lxc-users] DHCP Status on Linux Containers Images

Tycho Andersen tycho.andersen at canonical.com
Mon Jun 8 16:25:17 UTC 2015


On Mon, Jun 08, 2015 at 10:19:38AM -0600, Neil Jubinville wrote:
> Hi All,  so I discovered LXD yesterday, I am very happy I did.  I love what
> I see so far.
> 
> I am testing it on a DellR420 , 192 GB ram and 32 cores.   ( looking
> forward to an LVM backing store)
> 
> I am still new to containers and have primarily been building Openstack and
> using KVM so I have a few questions.
> 
> Qualifier:  I am running  0.7  because the Master GIT PPA throws error:
> system exit at 1.  when launching.
> 
> Question:
> 
> I noticed that the certain images when downloaded from linuxcontainers
> remote do not seem to grab an IP when launched.   The one in the demo of
> getting started does but others like vivid do not.
> 
> If I get a shell to the container I can : root at LXC_NAME:~# ifup eth0   and
> it will get an IP through DHCP
> 
> Note below test2 I ran from a vivid 64 image.
> 
> +-----------+---------+-----------+------+-----------+
> |   NAME    |  STATE  |   IPV4    | IPV6 | EPHEMERAL |
> +-----------+---------+-----------+------+-----------+
> | ubuntu-32 | RUNNING | 10.0.3.54 |      | NO        |
> | test      | RUNNING | 10.0.3.64 |      | NO        |
> | test2     | RUNNING |           |      | NO        |
> | test3     | RUNNING | 10.0.3.73 |      | NO        |
> | test4     | RUNNING | 10.0.3.77 |      | NO        |
> | test5     | RUNNING | 10.0.3.83 |      | NO        |
> +-----------+---------+-----------+------+-----------+
> 
> Any idea why ?   Is this an init bug on some of the images?

Yes,

https://github.com/lxc/lxd/issues/581

> Also, I would like today to switch to the TRUNK but may need some help
> troubleshooting since the logs were very sparse about the error.

Likely you're hitting,

https://github.com/lxc/lxd/issues/739#issuecomment-109997079

which should be fixed tomorrow when we tag 0.11.

Tycho

> thx!
> 
> Neil

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list