[lxc-users] cgm getvalue invalid request on lxc host

Serge Hallyn serge.hallyn at ubuntu.com
Wed Apr 1 00:16:45 UTC 2015


Quoting Georg Schönberger (gschoenberger at thomas-krenn.com):
> Hi LXC team,
> 
> somehow my cgm setup stopped working today!
> 
> I cannot make a request from the host anymore:
> # lxc-cgroup -n ubuntu1 memory.usage_in_bytes
> 32956416
> # cgm getvalue memory /lxc/ubuntu1 memory.usage_in_bytes
> Error org.freedesktop.DBus.Error.InvalidArgs: invalid request

Hm - this is on the *host*?

> In the log I got
> # tail /var/log/upstart/cgmanager.log
> cgmanager: Invalid path /run/cgmanager/fs/none,name=systemd///user (No
> such file or directory)
> cgmanager:list_children_main: Could not determine the requested cgroup
> cgmanager:get_pid_cgroup_main: Could not determine the requestor cgroup
> cgmanager:get_pid_cgroup_main: Could not determine the requestor cgroup
> cgmanager:get_value_main: target cgroup is not below r (2280)'s

> The log message was introduced by the following patch:
> *https://lists.debian.org/debian-release/2015/02/msg00396.html
> with the following comments:
> *// Get p's current cgroup in pcgpath
> *// Make sure target cgroup is under proxy's
> So maybe it's a permission or proxy issue?

Can you show

ps -ef | egrep -e "(cgmanager|cgproxy)"

uname -a

cat /proc/self/cgroup


More information about the lxc-users mailing list