[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-10-01 Thread Stéphane Graber
You can read some more about cgmanager at https://cgmanager.linuxcontainers.org cgroup-lite's goal was simply to mount the cgroup filesystem in a consistent manner, cgmanager instead is a daemon which handles all cgroup actions through a dbus API and allows for proper user delegation of cgroups in

Re: [Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-16 Thread Serge Hallyn
Please see https://help.ubuntu.com/14.04/serverguide/cgroups.html , and please let me know if there's anything you feel should be added there. There is also the cgmanager web page itself at https://cgmanager.linuxcontainers.org/ status: fixreleased ** Changed in: cgmanager (Ubuntu) Stat

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-16 Thread Adam Ryczkowski
After reboot lxc works fine. I can no longer reproduce the problem. BTW can you tell me (or at least point me somewhere), where I can learn about the cgroup-lite vs cgmanager. What is the difference, and for what exactly they are needed. I thought cgroup support is built into the kernel. -- You

Re: [Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-16 Thread Serge Hallyn
> Yes, I didn't restart. I just did `apt-get remove cgroup-lite`. After > I'm done with my work, I'll uninstall cgroup-lite, restart the system > and post feedback then. It would be in about 1 hour. Great, thanks. > Do I restart cgmanager with `service cgmanager restart`? If you are rebooting th

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-16 Thread Adam Ryczkowski
Yes, I didn't restart. I just did `apt-get remove cgroup-lite`. After I'm done with my work, I'll uninstall cgroup-lite, restart the system and post feedback then. It would be in about 1 hour. Do I restart cgmanager with `service cgmanager restart`? To say the truth, the only part I know about cg

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-16 Thread Serge Hallyn
The lxc.log.out shows lxc-start 1397651569.113 INFO lxc_cgroup - cgroup driver cgroupfs initing for puppetmaster lxc-start 1397651569.113 ERRORlxc_cgfs - Could not find writable mount point for cgroup hierarchy while trying to create cgroup. So cgmanager is not being used. How did you

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-16 Thread Adam Ryczkowski
cat /proc/cgroups #subsys_namehierarchy num_cgroups enabled cpuset 3 1 1 cpu 4 93 1 cpuacct 5 4 1 memory 6 4 1 devices 7 4 1 freezer 8 4 1 blkio 9 172 1 perf_event 10 4 1 hugetlb

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-16 Thread Adam Ryczkowski
(To reproduce the bug I had to uninstall cgrups-lite back. ) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1306916 Title: cgroup-lite should be added as an explicit dependency To mana

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-16 Thread Adam Ryczkowski
Contents of sudo lxc-start -n puppetmaster -l trace -o /tmp/lxc.log.out ** Attachment added: "lxc.log.out" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1306916/+attachment/4085368/+files/lxc.log.out -- You received this bug notification because you are a member of Ubuntu Server Team,

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-16 Thread Adam Ryczkowski
sudo cat /proc/self/cgroup>/tmp/self-cgroup.txt #subsys_namehierarchy num_cgroups enabled cpuset 3 1 1 cpu 4 93 1 cpuacct 5 4 1 memory 6 4 1 devices 7 4 1 freezer 8 4 1 blkio 9 172 1 perf_event

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-15 Thread Serge Hallyn
Could you please show 1. contents of /proc/cgroups and /proc/self/cgroup 2. the contents of debug.out after doing, without cgroup-lite installed, 'lxc-start -n mycontainer -l trace -o debug.out' ** Changed in: cgmanager (Ubuntu) Importance: Undecided => High ** Changed in: cgmanager (Ubuntu

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-15 Thread Shih-Yuan Lee
$ sudo cat /var/log/upstart/cgmanager.log | sort -u cgmanager: could not open cgroup file for [PID] ... cgmanager:do_move_pid_main: victim's cgroup is not under proxy's (p.uid 0) cgmanager:get_pid_cgroup_main: Could not determine the requestor cgroup cgmanager: Invalid path /run/cgmanager/fs/none,n

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cgmanager (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1306

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-14 Thread Adam Ryczkowski
Here you are. $ sudo cat /var/log/upstart/cgmanager.log cgmanager:do_move_pid_main: victim's cgroup is not under proxy's (p.uid 0) cgmanager:do_move_pid_main: victim's cgroup is not under proxy's (p.uid 0) cgmanager:do_move_pid_main: victim's cgroup is not under proxy's (p.uid 0) cgmanager:do_move

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-14 Thread Stéphane Graber
cgroup-lite isn't necessary at all now that we have cgmanager. Adding a cgmanager task to investigate what's causing it to fail for you. Can you please attach /var/log/upstart/cgmanager.log ? ** Also affects: cgmanager (Ubuntu) Importance: Undecided Status: New -- You received this bu

[Bug 1306916] Re: cgroup-lite should be added as an explicit dependency

2014-04-14 Thread Tim Gardner
Does not seem to be a kernel issue. ** Package changed: linux (Ubuntu) => lxc (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1306916 Title: cgroup-lite should be added as an e