No IP address is assigned inside the container when starting
Bug #1427743 reported by
Christopher Townsend
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity8 Desktop Preview in LXC |
Fix Released
|
High
|
Christopher Townsend | ||
unity8-lxc (Ubuntu) |
Fix Released
|
High
|
Christopher Townsend |
Bug Description
Recently, no IP address is being assigned inside the Unity 8 container when it starts.
Looking at /var/log/syslog in the container indicates that the DHCP service is not running when the container starts. Need to investigate why this is so.
Issuing 'sudo lxc-attach -n unity8-lxc -- restart newtork-manager' will get an IP address and I can see in the log where the DHCP is called.
Related branches
lp:~townsend/unity8-preview-lxc/fix-no-ip-addr
- Stephen M. Webb (community): Approve
-
Diff: 17 lines (+5/-1)1 file modifiedbin/unity8-lxc-setup (+5/-1)
Changed in unity8-preview-lxc: | |
status: | New → In Progress |
Changed in unity8-lxc (Ubuntu): | |
status: | New → In Progress |
Changed in unity8-preview-lxc: | |
importance: | Undecided → High |
Changed in unity8-lxc (Ubuntu): | |
importance: | Undecided → High |
Changed in unity8-preview-lxc: | |
assignee: | nobody → Christopher Townsend (townsend) |
Changed in unity8-lxc (Ubuntu): | |
assignee: | nobody → Christopher Townsend (townsend) |
Changed in unity8-preview-lxc: | |
milestone: | none → 1.0.3 |
Changed in unity8-preview-lxc: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I had an older ubuntu-desktop-next ISO and using the same exact config, that ISO will have an IP address after starting the container. Based on this, there is something in the ISO that is not playing nice with container. Adding debugging to NetworkManager does not show any errors. It just looks like it doesn't try to obtain an IPv4 address.
I would rather find the cause of this, but I may end up having to add some workaround to force the container to get an IP address.