lxc-start fails with Out of memory reading cgroups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Package might really be libcgroup1.
This seems to have stopped working with latest kernel upgrade.
To replicate failure...
net1# lxc-create -t ubuntu -n test
Checking cache download in /var/cache/
Copy /var/cache/
Copying rootfs to /usr/lib/
Generating locales...
en_US.UTF-8... up-to-date
Generation complete.
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
invoke-rc.d: policy-rc.d denied execution of start.
##
# The default user is 'ubuntu' with password 'ubuntu'!
# Use the 'sudo' command to run tasks as root in the container.
##
net1# lxc-start -n test
lxc-start: Out of memory reading cgroups
lxc-start: failed to spawn 'test'
Also now cgroup namespaces no longer shows up as enabled. Seems like this did show up as enabled in previous kernel. Reading other bugs reports, this seems to be okay + will be fixed upstream + I mention it here because it's a difference.
net1# lxc-checkconfig | grep -v enabled
Kernel configuration not found at /proc/config.gz; searching...
Kernel configuration found at /boot/config-
--- Namespaces ---
User namespace: missing
--- Control groups ---
Cgroup namespace: required
The cgroup mount point is showing up...
net1# mount | grep cgroup
none on /sys/fs/cgroup type tmpfs (rw)
systemd on /sys/fs/
none on /sys/fs/cgroup type tmpfs (rw)
And there is now filesystem entry for the container named test under /sys/fs/cgroup so this may also suggest a problem.
net1# ls /sys/fs/cgroup
net1#
Changed in lxc (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | Incomplete → Confirmed |
status: | Confirmed → Fix Committed |
no longer affects: | libcgroup (Ubuntu) |
Hum... I set the package to lxc + it changed to libcgroup.