[lxc-users] cgmanager+lxc-attach

Serge Hallyn serge.hallyn at ubuntu.com
Fri Feb 21 16:49:40 UTC 2014


Quoting Tamas Papp (tompos at martos.bme.hu):
> 
> 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?

Sorry, I'm afraid not :(  But so move_pid is what is failing...
which means the create and chown calls have already succeeded.

If you can tell me that today, with latest uptodate packages from
ppa on precise, it still fails, then I will - probably on monday -
try to reproduce and nail it down.

thanks,
-serge


More information about the lxc-users mailing list