[lxc-users] cgmanager+lxc-attach

Tamas Papp tompos at martos.bme.hu
Tue Feb 18 18:51:21 UTC 2014


On 02/18/2014 05:50 PM, Serge Hallyn wrote:
> Hi Tamas,

hi Serge,

> where did you get the lxc and cgmanager binaries from?  Are you at

daily ppa, precise and saucy

> the very latest versions?

Yes.

> Can you show /proc/self/cgroups and the ownership of those


9:hugetlb:/
8:perf_event:/
7:blkio:/
6:freezer:/
5:devices:/
4:memory:/
3:cpuacct:/
2:cpu:/
1:cpuset:/

> cgroups in the shell where you start lxc-attach?

I am root. what do you mean by the 'owner'?

> Does lxc-console work?

Yes.

> Unfortunately '-l DEBUG' doesn't actually show all the output on
> stdout/err.  Could you do
>
> lxc-attach -l INFO -o attach.out -n ns2 /bin/ls
>
> and then show attach.out?

     lxc-attach 1392749292.494 WARN     lxc_log - lxc_log_init called
with log already initialized
     lxc-attach 1392749292.495 WARN     lxc_log - lxc_log_init called
with log already initialized
     lxc-attach 1392749292.495 ERROR    lxc_cgmanager - call to
cgmanager_move_pid_sync failed: invalid request
     lxc-attach 1392749292.495 ERROR    lxc_cgmanager - Failed to enter
group /lxc/workhorse
     lxc-attach 1392749292.495 ERROR    lxc_attach - error communicating
with child process


Command:

$ lxc-attach -l DEBUG -o out.txt -n workhorse /bin/ls


Does it help?


tamas


More information about the lxc-users mailing list