[lxc-users] DHCP Status on Linux Containers Images

Neil Jubinville neil at orbitalsoftware.ca
Mon Jun 8 16:19:38 UTC 2015


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?

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.

thx!

Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150608/e94cb880/attachment.html>


More information about the lxc-users mailing list